Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update __versionTime__; blacken core code and examples | ptmcg | 2021-08-01 | 1 | -2/+2 |
| | |||||
* | Blacken the project (#141) | Jon Dufresne | 2019-10-31 | 1 | -23/+32 |
| | |||||
* | Use pyupgrade to upgrade the code to use Python3 conventions (#138) | Jon Dufresne | 2019-10-24 | 1 | -1/+1 |
| | | | | | | | | | | | | The pyupgrade project is available at https://github.com/asottile/pyupgrade and can be installed through pip. The pyupgrade tool automatically upgrades syntax for newer versions of the language. As pyparsing is now Python 3 only, can apply some cleanups and simplifications. Ran the tool using the following command: $ find . -name \*.py -exec pyupgrade --py3-plus {} \; For now, pyparsing.py was skipped while it is refactored to a package. | ||||
* | Py3 cleanup: Remove unnecessary __ne__ method (#140) | Jon Dufresne | 2019-10-17 | 1 | -2/+0 |
| | | | | | | | | | | Unlink Python 2, in Python 3, __ne__ defaults to the inverse of the __eq__ method. Can remove the definitions that follow this default. From the Python docs https://docs.python.org/3/reference/datamodel.html#object.__ne__ > By default, __ne__() delegates to __eq__() and inverts the result > unless it is NotImplemented. | ||||
* | Move src to root | Cengiz Kaygusuz | 2017-11-20 | 1 | -0/+129 |