cat > test.py <<EOF
__all__ = ['Test', 'Bar']
class Test:
pass
class Foo:
pass
EOF
cat > test.py <<EOF
__all__ = ['Test', 'Foo']
class Test:
pass
class Foo:
pass
EOF
Used when an undefined variable name is referenced in all.