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
|
||||
try:
|
||||
prop_ann = self.fget.__annotations__['return']
|
||||
prop_ann = self.func.__annotations__['return']
|
||||
except KeyError:
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue