summaryrefslogtreecommitdiff
path: root/examples/urlExtractor.py
Commit message (Collapse)AuthorAgeFilesLines
* Blacken the project (#141)Jon Dufresne2019-10-311-5/+3
|
* Py3 cleanup: Remove use of closing() with urlopen() (#145)Jon Dufresne2019-10-171-3/+2
| | | | | | | | | In Python 3, urlopen() can always be used as a context manager. Wrapping with closing() is not necessary. https://docs.python.org/3/library/urllib.request.html#urllib.request.urlopen > This function always returns an object which can work as a context > manager …
* Fixed dict structure in makeHTMLTags expressions, and added tag_body ↵Paul McGuire2019-04-061-30/+30
| | | | attribute to the generated start expression giving easy access to a SkipTo(closeTag) that will parse the tag's body text; some code cleanup and removed duplication among examples
* 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
* Use HTTPS URLs where available in docs, examples, and commentsJon Dufresne2018-12-251-1/+1
|
* Trim trailing white space throughout the projectJon Dufresne2018-12-221-5/+2
| | | | | | 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.
* Upgrade Python syntax with pyupgradeHugo2018-08-211-1/+1
|
* Move src to rootCengiz Kaygusuz2017-11-201-0/+33