@@ -1176,9 +1176,9 @@ class dict(MutableMapping[_KT, _VT]):
11761176 # __init__ should be kept roughly in line with `collections.UserDict.__init__`, which has similar semantics
11771177 # Also multiprocessing.managers.SyncManager.dict()
11781178 @overload
1179- def __init__ (self ) -> None : ...
1179+ def __init__ (self , / ) -> None : ...
11801180 @overload
1181- def __init__ (self : dict [str , _VT ], ** kwargs : _VT ) -> None : ... # pyright: ignore[reportInvalidTypeVarUse] #11780
1181+ def __init__ (self : dict [str , _VT ], / , ** kwargs : _VT ) -> None : ... # pyright: ignore[reportInvalidTypeVarUse] #11780
11821182 @overload
11831183 def __init__ (self , map : SupportsKeysAndGetItem [_KT , _VT ], / ) -> None : ...
11841184 @overload
@@ -1203,7 +1203,7 @@ class dict(MutableMapping[_KT, _VT]):
12031203 def __init__ (self : dict [str , str ], iterable : Iterable [list [str ]], / ) -> None : ...
12041204 @overload
12051205 def __init__ (self : dict [bytes , bytes ], iterable : Iterable [list [bytes ]], / ) -> None : ...
1206- def __new__ (cls , * args : Any , ** kwargs : Any ) -> Self : ...
1206+ def __new__ (cls , / , * args : Any , ** kwargs : Any ) -> Self : ...
12071207 def copy (self ) -> dict [_KT , _VT ]: ...
12081208 def keys (self ) -> dict_keys [_KT , _VT ]: ...
12091209 def values (self ) -> dict_values [_KT , _VT ]: ...
0 commit comments