mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
Update {code,codop}.compile_command in 3.14 (#14049)
This commit is contained in:
+1
-3
@@ -1,5 +1,5 @@
|
||||
import sys
|
||||
from codeop import CommandCompiler
|
||||
from codeop import CommandCompiler, compile_command as compile_command
|
||||
from collections.abc import Callable
|
||||
from types import CodeType
|
||||
from typing import Any
|
||||
@@ -52,5 +52,3 @@ else:
|
||||
local: dict[str, Any] | None = None,
|
||||
exitmsg: str | None = None,
|
||||
) -> None: ...
|
||||
|
||||
def compile_command(source: str, filename: str = "<input>", symbol: str = "single") -> CodeType | None: ...
|
||||
|
||||
Reference in New Issue
Block a user