Skip to content

Commit

Permalink
Added blank line after control block
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Oct 8, 2020
1 parent 8999e8f commit 74c17c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typeguard/__init__.py
Expand Up @@ -752,6 +752,7 @@ def __init__(self, wrapped: Generator, memo: _CallMemo):
rtype_args = []
if hasattr(memo.type_hints['return'], "__args__"):
rtype_args = memo.type_hints['return'].__args__

self.__wrapped = wrapped
self.__memo = memo
self.__yield_type = rtype_args[0] if rtype_args else Any
Expand Down

0 comments on commit 74c17c0

Please sign in to comment.