mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
Create abc.d.er
This commit is contained in:
parent
b13a09f1c4
commit
a84c7854ea
2 changed files with 14 additions and 1 deletions
12
crates/erg_compiler/lib/pystd/abc.d.er
Normal file
12
crates/erg_compiler/lib/pystd/abc.d.er
Normal file
|
@ -0,0 +1,12 @@
|
|||
.abstructmethod: |F <: GenericCallable|(F) -> F
|
||||
.abstructclassmethod: |F <: GenericCallable|(F) -> F
|
||||
.abstructstaticmethod: |F <: GenericCallable|(F) -> F
|
||||
|
||||
.ABCMeta: ClassType
|
||||
.ABCMeta <: Type
|
||||
.ABCMeta.
|
||||
__instancecheck__: (self: .ABCMeta, instance: Obj) -> Bool
|
||||
__subclasscheck__: (self: .ABCMeta, subclass: Type) -> Bool
|
||||
register: (self: .ABCMeta, subclass: Type) -> NoneType
|
||||
|
||||
.ABC: ClassType
|
Loading…
Add table
Add a link
Reference in a new issue