We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b67f420 commit 6031827Copy full SHA for 6031827
src/apipkg/__init__.py
@@ -91,7 +91,7 @@ def importobj(modpath, attrname):
91
return retval
92
93
94
-def synchronized(wrapped_function):
+def _synchronized(wrapped_function):
95
"""Decorator to synchronise __getattr__ calls."""
96
if threading is None:
97
return wrapped_function
@@ -162,7 +162,7 @@ def __repr__(self):
162
return "<ApiModule {!r} {}>".format(self.__name__, " ".join(repr_list))
163
return "<ApiModule {!r}>".format(self.__name__)
164
165
- @synchronized
+ @_synchronized
166
def __makeattr(self, name, isgetattr=False):
167
"""lazily compute value for name or raise AttributeError if unknown."""
168
target = None
0 commit comments