This commit is contained in:
Eric Wieser 2020-05-12 10:13:31 +01:00 committed by GitHub
parent b67c936b27
commit 8ce538cd96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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