-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpure.pyi
52 lines (38 loc) · 907 Bytes
/
pure.pyi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# This file is automatically generated by pyo3_stub_gen
# ruff: noqa: E501, F401
import os
import pathlib
import typing
from enum import Enum, auto
MY_CONSTANT: int
class A:
x: int
def __new__(cls,x:int): ...
def show_x(self) -> None:
...
def ref_test(self, x:dict) -> dict:
...
class Number(Enum):
FLOAT = auto()
INTEGER = auto()
def ahash_dict() -> dict[str, int]:
...
def create_a(x:int) -> A:
...
def create_dict(n:int) -> dict[int, list[int]]:
...
def echo_path(path:str | os.PathLike | pathlib.Path) -> str:
...
def read_dict(dict:typing.Mapping[int, typing.Mapping[int, int]]) -> None:
...
def str_len(x:str) -> int:
r"""
Returns the length of the string.
"""
...
def sum(v:typing.Sequence[int]) -> int:
r"""
Returns the sum of two numbers as a string.
"""
...
class MyError(RuntimeError): ...