mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-07-16 19:12:28 +03:00
Merge 7bed1aed5d
into 6e4794bab1
This commit is contained in:
commit
c3fca19a01
|
@ -5042,7 +5042,7 @@ def _resolve_calling_module():
|
||||||
|
|
||||||
def _resolve_calling_package_name():
|
def _resolve_calling_package_name():
|
||||||
module = _resolve_calling_module()
|
module = _resolve_calling_module()
|
||||||
return module.__package__
|
return getattr(module, "__package__", None)
|
||||||
|
|
||||||
|
|
||||||
cpdef _copy_parent(object from_, object to, dict memo):
|
cpdef _copy_parent(object from_, object to, dict memo):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user