mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
Implement Python class method declarations
This commit is contained in:
parent
e4c61392d2
commit
33edcd2e1c
7 changed files with 141 additions and 4 deletions
|
@ -1,3 +1,5 @@
|
|||
declare = pyimport "declare"
|
||||
|
||||
print! declare.f(declare.x + 1)
|
||||
c = declare.C.__call__ 1
|
||||
print! c.f(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue