Skip to content
Prev Previous commit
Next Next commit
Update Lib/typing.py
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
  • Loading branch information
AlexWaygood and sobolevn authored Jun 5, 2023
commit d59d72b77bb80022905d7b750dca3c3949d1da8d
2 changes: 1 addition & 1 deletion Lib/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2402,7 +2402,7 @@ def utf8(value: bytes) -> bytes: ...
@overload
def utf8(value: str) -> bytes: ...
def utf8(value):
# implementation goes here
... # implementation goes here

The overloads for a function can be retrieved at runtime using the
get_overloads() function.
Expand Down