mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 03:21:25 +08:00
Update {code,codop}.compile_command in 3.14 (#14049)
This commit is contained in:
1 parent
813430e77a
commit
23f1888037
3 files changed
+6
-6
No files matched your search
+5
-1
@@ -3,7 +3,11 @@ from types import CodeType
|
||||
|
||||
__all__ = ["compile_command", "Compile", "CommandCompiler"]
|
||||
|
||||
def compile_command(source: str, filename: str = "<input>", symbol: str = "single") -> CodeType | None: ...
|
||||
if sys.version_info >= (3, 14):
|
||||
def compile_command(source: str, filename: str = "<input>", symbol: str = "single", flags: int = 0) -> CodeType | None: ...
|
||||
|
||||
else:
|
||||
def compile_command(source: str, filename: str = "<input>", symbol: str = "single") -> CodeType | None: ...
|
||||
|
||||
class Compile:
|
||||
flags: int
|
||||
|
||||
Reference in new issue
Block a user