mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-30 04:44:44 +00:00
Implement ProjMethod
This commit is contained in:
parent
9fd98001fe
commit
9c3acc8e19
22 changed files with 1087 additions and 697 deletions
|
@ -223,6 +223,7 @@ fn convert_to_python_attr(class: &str, uniq_obj_name: Option<&str>, name: Str) -
|
|||
("File!", _, "read!") => Str::ever("read"),
|
||||
(_, _, "__new__") => Str::ever("__call__"),
|
||||
(_, _, "to_str") => Str::ever("__str__"),
|
||||
(_, _, "__Tuple_getitem__") => Str::ever("__getitem__"),
|
||||
("StringIO!", _, "getvalue!") => Str::ever("getvalue"),
|
||||
("Module", Some("importlib"), "reload!") => Str::ever("reload"),
|
||||
("Module", Some("random"), "randint!") => Str::ever("randint"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue