Skip to content

Commit 5957b9b

Browse files
pablogsalvstinner
andauthored
Update Lib/multiprocessing/util.py
Co-Authored-By: Victor Stinner <[email protected]>
1 parent 5153c7e commit 5957b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/multiprocessing/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def is_abstract_socket_namespace(address):
118118
return address[0] == 0
119119
elif isinstance(address, str):
120120
return address[0] == "\0"
121-
raise ValueError('address type of %r unrecognized' % address)
121+
raise TypeError('address type of {address!r} unrecognized')
122122

123123

124124
abstract_sockets_supported = _platform_supports_abstract_sockets()

0 commit comments

Comments
 (0)