Skip to content

Commit

Permalink
Support python -m see
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam Cooke committed May 17, 2017
1 parent 1456003 commit b45bc74
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
11 changes: 11 additions & 0 deletions see/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"""
see.__main__
Main entry point
Copyright (c) 2009-2017 Liam Cooke
https://araile.github.io/see/
"""
from see import see

help(see)
5 changes: 0 additions & 5 deletions see/old_see.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
see.old_see
Expand Down Expand Up @@ -222,7 +221,3 @@ def see(obj=_LOCALS, pattern=None, r=None):
actions = regex_filter(actions, r)

return _SeeOutput(actions)


if __name__ == '__main__':
help(see)

0 comments on commit b45bc74

Please sign in to comment.