mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 02:39:20 +00:00
feat: add __future__, fnmatch, graphlib, zoneinfo
This commit is contained in:
parent
f299962ebc
commit
d62bce689b
5 changed files with 57 additions and 1 deletions
|
@ -1,6 +1,17 @@
|
|||
.DataClass = 'dataclass': ClassType
|
||||
.DataClass.
|
||||
__call__: (init := Bool, repr := Bool, eq := Bool, order := Bool, unsafe_hash := Bool, frozen := Bool, match_args := Bool, kw_only := Bool, slots := Bool, weakref_slots := Bool) -> (ClassType -> ClassType)
|
||||
__call__: (
|
||||
init := Bool,
|
||||
repr := Bool,
|
||||
eq := Bool,
|
||||
order := Bool,
|
||||
unsafe_hash := Bool,
|
||||
frozen := Bool,
|
||||
match_args := Bool,
|
||||
kw_only := Bool,
|
||||
slots := Bool,
|
||||
weakref_slots := Bool
|
||||
) -> (ClassType -> ClassType)
|
||||
|
||||
.is_dataclass: (obj: Obj) -> Bool
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue