diff options
| author | Dan Halbert <halbert@halwitz.org> | 2020-11-27 23:27:15 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2020-11-27 23:27:15 -0500 |
| commit | 65e2fe46540abc09f341c39d877eafeb791933f1 (patch) | |
| tree | a6286ab7995229f2c82bc55bc43b9af823e511a3 /tools | |
| parent | f96475cbbf5417531bbdd302b720658c5fa0f541 (diff) | |
fix stub problems; touch up doc
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/extract_pyi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/extract_pyi.py b/tools/extract_pyi.py index b7ce584a1..2730102ac 100644 --- a/tools/extract_pyi.py +++ b/tools/extract_pyi.py @@ -19,7 +19,7 @@ import black IMPORTS_IGNORE = frozenset({'int', 'float', 'bool', 'str', 'bytes', 'tuple', 'list', 'set', 'dict', 'bytearray', 'slice', 'file', 'buffer', 'range', 'array', 'struct_time'}) IMPORTS_TYPING = frozenset({'Any', 'Optional', 'Union', 'Tuple', 'List', 'Sequence', 'NamedTuple', 'Iterable', 'Iterator', 'Callable', 'AnyStr', 'overload', 'Type'}) IMPORTS_TYPES = frozenset({'TracebackType'}) -CPY_TYPING = frozenset({'ReadableBuffer', 'WriteableBuffer', 'AudioSample', 'FrameBuffer'}) +CPY_TYPING = frozenset({'ReadableBuffer', 'WriteableBuffer', 'AudioSample', 'FrameBuffer', 'Alarm'}) def is_typed(node, allow_any=False): |
