File: bad_all.py

package info (click to toggle)
ipython 7.20.0-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,100 kB
  • sloc: python: 36,813; sh: 379; 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
          ]