summaryrefslogtreecommitdiff
path: root/examples/holaMundo.py
Commit message (Collapse)AuthorAgeFilesLines
* change some lambdas to explicit methods for clarity (see discussion in ↵ptmcg2020-04-261-2/+7
| | | | #207); deleted duplicated examples (commit *all* changes this time)
* Blacken the project (#141)Jon Dufresne2019-10-311-13/+24
|
* Use pyupgrade to upgrade the code to use Python3 conventions (#138)Jon Dufresne2019-10-241-2/+0
| | | | | | | | | | | | 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.
* Update examples and unit tests to more preferred coding styles, imports for ↵ptmcg2019-01-301-2/+2
| | | | pyparsing_common as ppc and pyparsing_unicode as ppu
* Merge changes from last PR, plus some more up-to-date coding styles and ↵Paul McGuire2018-12-231-5/+21
| | | | pyparsing features
* Trim trailing white space throughout the projectJon Dufresne2018-12-221-22/+21
| | | | | | Many editors clean up trailing white space on save. By removing it all in one go, it helps keep future diffs cleaner by avoiding spurious white space changes on unrelated lines.
* Fix encoding cookie to use encoding "utf-8"Jon Dufresne2018-12-221-1/+1
| | | | | | | | | | | | | | | The all caps "UTF-8" causes warnings or errors in some editors. "utf-8" is more widely recognized. For example, when opening files in Emacs, I see: > Warning (mule): Invalid coding system ‘UTF-8’ is specified > for the current buffer/file by the :coding tag. > It is highly recommended to fix it before writing to a file. > Really proceed with writing? (yes or no) I'm then promped before saving. The CPython source code uses the lowecase form.
* Move src to rootCengiz Kaygusuz2017-11-201-0/+38