5 Commits

Author SHA1 Message Date
Fangchen Li dfc289289d Drop py2 support (#629)
* remove xrange compat shim
* remove str compat shim
* remove exec compat shim
* remove object from class defination
* remove misc workarounds for python versions <3.5
* remove __future__ imports
* update readme
* Update setup.cfg

Closes #594

Co-authored-by: Fredrik Johansson <fredrik.johansson@gmail.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Colin B. Macdonald <cbm@m.fsf.org>
2023-03-30 04:50:18 +03:00
cclauss 15f68aa2f3 Use print() function in both Python 2 and Python 3
Legacy __print__ statements are syntax errors in Python 3 but __print()__ function works as expected in both Python 2 and Python 3.
2019-11-26 08:19:39 +01:00
Sergey B Kirpichev affc2ef6e1 PEP 8 fixes:
E101 - mix of tabs and spaces
 W191 - use of tabs
 W291 - trailing whitespace
 W293 - trailing whitespace
 E111 - 4 spaces per indentation level
 E112 - 4 spaces per indentation level
 E113 - 4 spaces per indentation level
 W292 - no newline at end of file
 W391 - blank line at end of file

see http://pep8.readthedocs.org/
2014-11-21 17:08:07 +03:00
Fredrik Johansson 27eab13de6 convert line endings in trunk to unix format; rebuild docs 2010-07-28 20:09:06 +00:00
Fredrik Johansson 6064bf4893 plotting demos 2008-10-05 13:27:25 +00:00