Skip to content

Commit

Permalink
Merge pull request #131 from rgommers/s-fixup
Browse files Browse the repository at this point in the history
MAINT: minor cleanup, remove `s` from the main namespace.
  • Loading branch information
grlee77 committed Nov 27, 2015
2 parents 898595d + c2c3bab commit 36c15ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pywt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@


__all__ = [s for s in dir() if not s.startswith('_')]
try:
# In Python 2.x the name of the tempvar leaks out of the list
# comprehension. Delete it to not make it show up in the main namespace.
del s
except NameError:
pass

from pywt.version import version as __version__

Expand Down

0 comments on commit 36c15ca

Please sign in to comment.