mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
dbm: mark positional-only args (#3674)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user