mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Merge branch 'master' into new-api
This commit is contained in:
commit
87efe4bb99
1 changed files with 3 additions and 0 deletions
|
|
@ -49,6 +49,9 @@ class Object:
|
|||
def __call__(self):
|
||||
pass
|
||||
|
||||
def __getitem__(self, item):
|
||||
return getattr(self, item)
|
||||
|
||||
|
||||
def remove_none(obj):
|
||||
if isinstance(obj, (list, tuple, set)):
|
||||
|
|
|
|||
Loading…
Reference in a new issue