mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 19:12:31 +08:00
Fix some typos in comments (#9802)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# https://pyinstaller.org/en/stable/hooks.html#the-pre-safe-import-module-psim-api-method
|
||||
|
||||
# The documentation explicitely mentions that "Normally you do not need to know about the module-graph."
|
||||
# The documentation explicitly mentions that "Normally you do not need to know about the module-graph."
|
||||
# However, some PyiModuleGraph typed class attributes are still documented as existing in imphookapi.
|
||||
from _typeshed import Incomplete, StrPath, SupportsKeysAndGetItem
|
||||
from collections.abc import Iterable
|
||||
|
||||
@@ -12,9 +12,9 @@ Xlib.protocol.rq.DictWrapper.__lt__
|
||||
Xlib.protocol.rq.Event.__gt__
|
||||
Xlib.protocol.rq.Event.__lt__
|
||||
|
||||
# Can be None or str once instanciated
|
||||
# Can be None or str once instantiated
|
||||
Xlib.protocol.rq.*.structcode
|
||||
# Should only ever be str once instanciated
|
||||
# Should only ever be str once instantiated
|
||||
Xlib.protocol.rq.*.name
|
||||
|
||||
# Structs generate their attributes (@type_check_only)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Some methods are dynamically patched onto to instances as they
|
||||
# may depend on whether code is executed in graph/eager/v1/v2/etc.
|
||||
# Tensorflow supports multiple modes of execution which changes some
|
||||
# of the attributes/methods/even class hierachies.
|
||||
# of the attributes/methods/even class hierarchies.
|
||||
tensorflow.Tensor.__int__
|
||||
tensorflow.Tensor.numpy
|
||||
tensorflow.Tensor.__index__
|
||||
|
||||
Reference in New Issue
Block a user