mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
Fix missing f
prefix on f-strings (GH-91910)
This commit is contained in:
parent
80de0273c0
commit
f882d33778
3 changed files with 3 additions and 2 deletions
|
@ -120,7 +120,7 @@ def is_abstract_socket_namespace(address):
|
|||
return address[0] == 0
|
||||
elif isinstance(address, str):
|
||||
return address[0] == "\0"
|
||||
raise TypeError('address type of {address!r} unrecognized')
|
||||
raise TypeError(f'address type of {address!r} unrecognized')
|
||||
|
||||
|
||||
abstract_sockets_supported = _platform_supports_abstract_sockets()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue