mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-06-16 11:33:13 +03:00
Merge 7bed1aed5d
into 8460465b5e
This commit is contained in:
commit
5813524d3d
|
@ -5036,7 +5036,7 @@ def _resolve_calling_module():
|
|||
|
||||
def _resolve_calling_package_name():
|
||||
module = _resolve_calling_module()
|
||||
return module.__package__
|
||||
return getattr(module, "__package__", None)
|
||||
|
||||
|
||||
cpdef _copy_parent(object from_, object to, dict memo):
|
||||
|
|
Loading…
Reference in New Issue
Block a user