mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-25 20:36:44 +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