mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Use explicit "# type: str" instead of '' shortcut.
This commit is contained in:
@@ -13,7 +13,7 @@ def gnu_getopt(args: List[str], shortopts: str,
|
||||
List[str]]: ...
|
||||
|
||||
class GetoptError(Exception):
|
||||
msg = ''
|
||||
opt = ''
|
||||
msg = ... # type: str
|
||||
opt = ... # type: str
|
||||
|
||||
error = GetoptError
|
||||
|
||||
Reference in New Issue
Block a user