diff options
| author | Paul Sokolovsky | 2014-04-11 23:25:35 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2014-04-12 00:39:55 +0300 |
| commit | 13d52df4c54cc6360a5c9c0bdbf7a3abb45c22d0 (patch) | |
| tree | 4bf9c4c967393f6ea6917ef007074c686ca084dc /py/qstrdefs.h | |
| parent | e0813290980deeefd6a104193aece6b944945f0c (diff) | |
builtinimport: Set __path__ attribute on packages.
Per https://docs.python.org/3.3/reference/import.html , this is the way to
tell module from package: "Specifically, any module that contains a __path__
attribute is considered a package." And it for sure will be needed to
implement relative imports.
Diffstat (limited to 'py/qstrdefs.h')
| -rw-r--r-- | py/qstrdefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h index eb72fd265..d52b870e6 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -13,6 +13,7 @@ Q(__module__) Q(__name__) Q(__next__) Q(__qualname__) +Q(__path__) Q(__repl_print__) Q(__bool__) |
