mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-04 09:02:46 +08:00
Revert addition of class_getitem to PathLike (#6591)
This was added in #5869 This breaks all PathLike classes that don't have class_getitem
This commit is contained in:
@@ -51,6 +51,7 @@ ipaddress.IPv6Interface.hostmask
|
||||
ipaddress._BaseNetwork.broadcast_address
|
||||
ipaddress._BaseNetwork.hostmask
|
||||
multiprocessing.spawn._main
|
||||
os.PathLike.__class_getitem__ # PathLike is a protocol; we don't expect all PathLike classes to implement class_getitem
|
||||
pickle.Pickler.reducer_override # implemented in C pickler
|
||||
# platform.uname_result's processor field is now dynamically made to exist
|
||||
platform.uname_result.__new__
|
||||
|
||||
@@ -46,6 +46,7 @@ ipaddress.IPv6Interface.hostmask
|
||||
ipaddress._BaseNetwork.broadcast_address
|
||||
ipaddress._BaseNetwork.hostmask
|
||||
multiprocessing.spawn._main
|
||||
os.PathLike.__class_getitem__ # PathLike is a protocol; we don't expect all PathLike classes to implement class_getitem
|
||||
pickle.Pickler.reducer_override # implemented in C pickler
|
||||
# platform.uname_result's processor field is now dynamically made to exist
|
||||
platform.uname_result.__new__
|
||||
|
||||
Reference in New Issue
Block a user