Skip to content

Commit

Permalink
text_type -> str
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmojaki committed Sep 23, 2023
1 parent 9ec8ed9 commit 4af67e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executing/executing.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def _asttext_base(self):

@staticmethod
def decode_source(source):
# type: (Union[str, bytes]) -> text_type
# type: (Union[str, bytes]) -> str
if isinstance(source, bytes):
encoding = Source.detect_encoding(source)
return source.decode(encoding)
Expand Down

0 comments on commit 4af67e4

Please sign in to comment.