mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-30 21:01:10 +00:00
Add d.er
s
This commit is contained in:
parent
561a384014
commit
317c44814c
5 changed files with 12 additions and 0 deletions
2
compiler/erg_compiler/lib/pystd/filecmp.d.er
Normal file
2
compiler/erg_compiler/lib/pystd/filecmp.d.er
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
.cmp: (f1: File!, f2: File!, shallow := Bool) -> Bool
|
||||||
|
.cmpfiles: (dir1: PathLike, dir2: PathLike, common: [Str; _], shallow := Bool) -> Bool
|
2
compiler/erg_compiler/lib/pystd/functools.d.er
Normal file
2
compiler/erg_compiler/lib/pystd/functools.d.er
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
.cache: |T <: Proc|(user_function: T) -> T
|
||||||
|
.lru_cache: |T <: Proc|(user_function: T) -> T
|
0
compiler/erg_compiler/lib/pystd/importlib.d/util.d.er
Normal file
0
compiler/erg_compiler/lib/pystd/importlib.d/util.d.er
Normal file
|
@ -1,4 +1,5 @@
|
||||||
.path = pyimport "path"
|
.path = pyimport "path"
|
||||||
|
.PathLike: ClassType
|
||||||
|
|
||||||
.name: Str
|
.name: Str
|
||||||
|
|
||||||
|
|
7
compiler/erg_compiler/lib/pystd/pathlib.d.er
Normal file
7
compiler/erg_compiler/lib/pystd/pathlib.d.er
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
.PurePath: ClassType
|
||||||
|
.PurePath.parts: [Str; _]
|
||||||
|
.PurePosixPath: ClassType
|
||||||
|
.PureWindowsPath: ClassType
|
||||||
|
.Path: ClassType
|
||||||
|
.PosixPath: ClassType
|
||||||
|
.WindowsPath: ClassType
|
Loading…
Add table
Add a link
Reference in a new issue