mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 19:11:26 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
1 parent
6cb934291f
commit
ddfaca3200
272 files changed
+2529
-2467
No files matched your search
+2
-2
@@ -2,7 +2,7 @@ from types import CodeType
|
||||
|
||||
__all__ = ["compile_command", "Compile", "CommandCompiler"]
|
||||
|
||||
def compile_command(source: str, filename: str = ..., symbol: str = ...) -> CodeType | None: ...
|
||||
def compile_command(source: str, filename: str = "<input>", symbol: str = "single") -> CodeType | None: ...
|
||||
|
||||
class Compile:
|
||||
flags: int
|
||||
@@ -10,4 +10,4 @@ class Compile:
|
||||
|
||||
class CommandCompiler:
|
||||
compiler: Compile
|
||||
def __call__(self, source: str, filename: str = ..., symbol: str = ...) -> CodeType | None: ...
|
||||
def __call__(self, source: str, filename: str = "<input>", symbol: str = "single") -> CodeType | None: ...
|
||||
Reference in new issue
Block a user