mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Python: Copy Python extractor to codeql repo
This commit is contained in:
19
python/extractor/tests/tokenizer/pep484.py
Normal file
19
python/extractor/tests/tokenizer/pep484.py
Normal file
@@ -0,0 +1,19 @@
|
||||
#PEP 484 style annotations.
|
||||
|
||||
def func(callee_type: CallableType,
|
||||
formal_to_actual: List[List[int]],
|
||||
strict: bool = True) -> List[Type]:
|
||||
pass
|
||||
|
||||
|
||||
def func(self,
|
||||
name: str,
|
||||
args: List[str],
|
||||
*,
|
||||
cwd: str = None,
|
||||
env: Dict[str, str] = None) -> None:
|
||||
pass
|
||||
|
||||
def specials(self, *varargs: vanno, **kwargs: kwanno):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user