adding from new mac
This commit is contained in:
10
documentation-test/src/documentation_test/lib/lib.py
Normal file
10
documentation-test/src/documentation_test/lib/lib.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import sys
|
||||
|
||||
|
||||
def export(fn):
|
||||
mod = sys.modules[fn.__module__]
|
||||
if hasattr(mod, '__all__'):
|
||||
mod.__all__.append(fn.__name__)
|
||||
else:
|
||||
mod.__all__ = [fn.__name__]
|
||||
return fn
|
||||
Reference in New Issue
Block a user