mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
Use explicit "# type: str" instead of '' shortcut.
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
|
||||
from typing import Any, Iterable, Tuple, List, Iterator, BinaryIO, overload
|
||||
|
||||
typecodes = ''
|
||||
typecodes = ... # type: str
|
||||
|
||||
class array:
|
||||
def __init__(self, typecode: str,
|
||||
initializer: Iterable[Any] = None) -> None:
|
||||
typecode = ''
|
||||
typecode = ... # type: str
|
||||
itemsize = 0
|
||||
|
||||
def append(self, x: Any) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user