Created
August 4, 2015 13:08
-
-
Save mitsuhiko/0b6c7894ed0fe8aeed45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import unicode_literals | |
from .b import Foo | |
__all__ = ['Foo'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo(object): | |
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Python 2.7.10 (default, Jun 10 2015, 19:42:47) | |
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from a import * | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
TypeError: Item in ``from list'' not a string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment