Fix typo
This commit is contained in:
parent
b67c936b27
commit
8ce538cd96
|
@ -1193,7 +1193,7 @@ class cached_property:
|
||||||
|
|
||||||
# copy across the annotation for runtime introspection
|
# copy across the annotation for runtime introspection
|
||||||
try:
|
try:
|
||||||
prop_ann = self.fget.__annotations__['return']
|
prop_ann = self.func.__annotations__['return']
|
||||||
except KeyError:
|
except KeyError:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue