generated from jCloud/repository-template
Add __all__ variable in core.python.namespaces
This commit is contained in:
@@ -14,6 +14,12 @@
|
||||
|
||||
from ...exceptions import InvalidNamespaceError, NamespaceNotFoundError
|
||||
|
||||
__all__ = [
|
||||
'PythonNamespace',
|
||||
'PythonPackageNamespace',
|
||||
'PythonModuleNamespace'
|
||||
]
|
||||
|
||||
class PythonNamespace:
|
||||
'''
|
||||
The base class for all python namespaces such as modules or packages.
|
||||
@@ -63,7 +69,6 @@ class PythonPackageNamespace(PythonNamespace):
|
||||
else:
|
||||
return sub_namespace
|
||||
|
||||
|
||||
class PythonModuleNamespace(PythonNamespace):
|
||||
'''
|
||||
A subclass of ``PythonNamespace`` for python module namespaces.
|
||||
|
||||
Reference in New Issue
Block a user