| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Discovered using the command:
flake8 --select F401 .
|
|
|
|
|
|
|
|
|
| |
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 …
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unused imports were discovered using flake8. By removing the unused
imports, the code is a bit friendlier to new contributors as it is
clearer what is being used and not simply leftover from previous
refactoring.
The flake8 command:
$ flake8 . --select F401
http://flake8.pycqa.org/
|
|
|
|
|
|
| |
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.
|
| |
|
|
|