mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Re-organize directory structure (#4971)
See discussion in #2491 Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
This commit is contained in:
14
stdlib/codeop.pyi
Normal file
14
stdlib/codeop.pyi
Normal file
@@ -0,0 +1,14 @@
|
||||
from types import CodeType
|
||||
from typing import Optional
|
||||
|
||||
def compile_command(source: str, filename: str = ..., symbol: str = ...) -> Optional[CodeType]: ...
|
||||
|
||||
class Compile:
|
||||
flags: int
|
||||
def __init__(self) -> None: ...
|
||||
def __call__(self, source: str, filename: str, symbol: str) -> CodeType: ...
|
||||
|
||||
class CommandCompiler:
|
||||
compiler: Compile
|
||||
def __init__(self) -> None: ...
|
||||
def __call__(self, source: str, filename: str = ..., symbol: str = ...) -> Optional[CodeType]: ...
|
||||
Reference in New Issue
Block a user