forked from Jij-Inc/pyo3-stub-gen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpure.pyi
56 lines (41 loc) · 1.14 KB
/
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
52
53
54
55
# This file is automatically generated by pyo3_stub_gen
# ruff: noqa: E501, F401
import builtins
import os
import pathlib
import typing
from enum import Enum, auto
MY_CONSTANT: builtins.int
class A:
x: builtins.int
def __new__(cls,x:builtins.int): ...
def show_x(self) -> None:
...
def ref_test(self, x:dict) -> dict:
...
class Number(Enum):
FLOAT = auto()
INTEGER = auto()
def ahash_dict() -> builtins.dict[builtins.str, builtins.int]:
...
def create_a(x:builtins.int=2) -> A:
...
def create_dict(n:builtins.int) -> builtins.dict[builtins.int, builtins.list[builtins.int]]:
...
def default_value(num:Number=...) -> Number:
...
def echo_path(path:builtins.str | os.PathLike | pathlib.Path) -> builtins.str:
...
def read_dict(dict:typing.Mapping[builtins.int, typing.Mapping[builtins.int, builtins.int]]) -> None:
...
def str_len(x:builtins.str) -> builtins.int:
r"""
Returns the length of the string.
"""
...
def sum(v:typing.Sequence[builtins.int]) -> builtins.int:
r"""
Returns the sum of two numbers as a string.
"""
...
class MyError(RuntimeError): ...