dbm: mark positional-only args (#3674)

This commit is contained in:
Shantanu
2020-01-29 02:03:55 -08:00
committed by GitHub
parent eb6ce3cacb
commit 437b6947eb
2 changed files with 2 additions and 2 deletions

View File

@@ -33,4 +33,4 @@ class _gdbm:
__new__: None # type: ignore
__init__: None # type: ignore
def open(file: str, flag: str = ..., mode: int = ...) -> _gdbm: ...
def open(__filename: str, __flags: str = ..., __mode: int = ...) -> _gdbm: ...

View File

@@ -33,4 +33,4 @@ class _dbm:
__new__: None # type: ignore
__init__: None # type: ignore
def open(filename: str, flag: str = ..., mode: int = ...) -> _dbm: ...
def open(__filename: str, __flags: str = ..., __mode: int = ...) -> _dbm: ...