Skip to content

Commit 40e1fd8

Browse files
committed
Revert typeshed fixes
1 parent f7798ec commit 40e1fd8

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

mypy/typeshed/stdlib/@python2/__builtin__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class type(object):
121121
def __new__(cls, name: str, bases: Tuple[type, ...], namespace: Dict[str, Any]) -> type: ...
122122
def __call__(self, *args: Any, **kwds: Any) -> Any: ...
123123
def __subclasses__(self: _TT) -> List[_TT]: ...
124-
# Note: the documentation doesn't specify what the return type is, the standard
124+
# Note: the documentation doesnt specify what the return type is, the standard
125125
# implementation seems to be returning a list.
126126
def mro(self) -> List[type]: ...
127127
def __instancecheck__(self, instance: Any) -> bool: ...

mypy/typeshed/stdlib/@python2/builtins.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class type(object):
121121
def __new__(cls, name: str, bases: Tuple[type, ...], namespace: Dict[str, Any]) -> type: ...
122122
def __call__(self, *args: Any, **kwds: Any) -> Any: ...
123123
def __subclasses__(self: _TT) -> List[_TT]: ...
124-
# Note: the documentation doesn't specify what the return type is, the standard
124+
# Note: the documentation doesnt specify what the return type is, the standard
125125
# implementation seems to be returning a list.
126126
def mro(self) -> List[type]: ...
127127
def __instancecheck__(self, instance: Any) -> bool: ...

mypy/typeshed/stdlib/builtins.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class type(object):
153153
def __new__(cls: Type[_TT], name: str, bases: Tuple[type, ...], namespace: dict[str, Any], **kwds: Any) -> _TT: ...
154154
def __call__(self, *args: Any, **kwds: Any) -> Any: ...
155155
def __subclasses__(self: _TT) -> list[_TT]: ...
156-
# Note: the documentation doesn't specify what the return type is, the standard
156+
# Note: the documentation doesnt specify what the return type is, the standard
157157
# implementation seems to be returning a list.
158158
def mro(self) -> list[type]: ...
159159
def __instancecheck__(self, instance: Any) -> bool: ...

mypy/typeshed/stdlib/multiprocessing/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ _SemaphoreType = synchronize.Semaphore
5353
# multiprocessing.context.BaseContext's methods, so the two signatures should
5454
# be identical (modulo self).
5555

56-
# Synchronization primitives
56+
# Sychronization primitives
5757
_LockLike = Union[synchronize.Lock, synchronize.RLock]
5858
RawValue = context._default_context.RawValue
5959
RawArray = context._default_context.RawArray

mypy/typeshed/stdlib/os/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class PathLike(Protocol[_AnyStr_co]):
315315
_FdOrAnyPath = Union[int, StrOrBytesPath]
316316

317317
class DirEntry(Generic[AnyStr]):
318-
# This is what the scandir iterator yields
318+
# This is what the scandir interator yields
319319
# The constructor is hidden
320320

321321
name: AnyStr

mypy/typeshed/stdlib/tkinter/__init__.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ class Pack:
730730
forget = pack_forget
731731
propagate = Misc.pack_propagate
732732
# commented out to avoid mypy getting confused with multiple
733-
# inheritance and how things get overridden with different things
733+
# inheritance and how things get overrided with different things
734734
# info = pack_info
735735
# pack_propagate = Misc.pack_propagate
736736
# configure = pack_configure
@@ -774,7 +774,7 @@ class Place:
774774
place = place_configure
775775
info = place_info
776776
# commented out to avoid mypy getting confused with multiple
777-
# inheritance and how things get overridden with different things
777+
# inheritance and how things get overrided with different things
778778
# config = place_configure
779779
# configure = place_configure
780780
# forget = place_forget
@@ -816,7 +816,7 @@ class Grid:
816816
location = Misc.grid_location
817817
size = Misc.grid_size
818818
# commented out to avoid mypy getting confused with multiple
819-
# inheritance and how things get overridden with different things
819+
# inheritance and how things get overrided with different things
820820
# bbox = Misc.grid_bbox
821821
# grid_bbox = Misc.grid_bbox
822822
# forget = grid_forget
@@ -2960,7 +2960,7 @@ class OptionMenu(Menubutton):
29602960
command: Callable[[StringVar], Any] | None = ...,
29612961
) -> None: ...
29622962
# configure, config, cget are inherited from Menubutton
2963-
# destroy and __getitem__ are overridden, signature does not change
2963+
# destroy and __getitem__ are overrided, signature does not change
29642964

29652965
class _Image(Protocol):
29662966
tk: _tkinter.TkappType

mypy/typeshed/stdlib/tkinter/ttk.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ class LabeledScale(Frame):
11221122
compound: Literal["top"] | Literal["bottom"] = ...,
11231123
**kw: Any,
11241124
) -> None: ...
1125-
# destroy is overridden, signature does not change
1125+
# destroy is overrided, signature does not change
11261126
value: Any
11271127

11281128
class OptionMenu(Menubutton):
@@ -1138,5 +1138,5 @@ class OptionMenu(Menubutton):
11381138
command: Callable[[tkinter.StringVar], Any] | None = ...,
11391139
) -> None: ...
11401140
# configure, config, cget, destroy are inherited from Menubutton
1141-
# destroy and __setitem__ are overridden, signature does not change
1141+
# destroy and __setitem__ are overrided, signature does not change
11421142
def set_menu(self, default: Any | None = ..., *values): ...

0 commit comments

Comments
 (0)