File: bad_all.py

package info (click to toggle)
ipython 8.35.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,696 kB
  • sloc: python: 42,461; sh: 376; makefile: 243
file content (14 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Module with bad __all__

To test https://github.com/ipython/ipython/issues/9678
"""

def evil():
    pass

def puppies():
    pass

__all__ = [evil,       # Bad
           'puppies',  # Good
          ]