mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-03 18:29:00 +00:00
feat: add Generator
* remove `GenericGenerator`
This commit is contained in:
parent
0cffbd7249
commit
1f5e9cbc9f
3 changed files with 11 additions and 14 deletions
|
@ -45,9 +45,9 @@
|
|||
chmod!: (self: .Path, mode: Nat) => NoneType
|
||||
exists!: (self: .Path) => Bool
|
||||
expanduser!: (self: .Path) => .Path
|
||||
glob!: (self: .Path, pattern: Str) -> Iterable .Path
|
||||
glob!: (self: .Path, pattern: Str) -> Generator .Path
|
||||
home!: () => .Path
|
||||
iterdir!: (self: .Path) => Iterable .Path
|
||||
iterdir!: (self: .Path) => Generator .Path
|
||||
joinpath: (self: .Path, *other: PathLike) -> .Path
|
||||
mkdir!: (self: .Path, mode := Nat, parents := Bool, exist_ok := Bool) => NoneType
|
||||
open!: (self: .Path, mode := Str) => File!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue