mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2026-08-22 13:13:23 +00:00
ballistica update ; assets , party password
This commit is contained in:
parent
a2d7d72d8a
commit
17a11b9cef
87 changed files with 6967 additions and 1627 deletions
8
dist/ba_data/python/efro/debug.py
vendored
8
dist/ba_data/python/efro/debug.py
vendored
|
|
@ -497,6 +497,14 @@ def _desctype(obj: Any) -> str:
|
|||
if cls is types.MethodType:
|
||||
bnd = 'bound' if hasattr(obj, '__self__') else 'unbound'
|
||||
return f'{bnd} {type(obj).__name__} {obj.__name__}'
|
||||
if cls is types.FunctionType:
|
||||
return f'{type(obj).__name__} {obj.__module__}.{obj.__qualname__}'
|
||||
if cls is types.CellType:
|
||||
try:
|
||||
contents = _desctype(obj.cell_contents)
|
||||
except ValueError:
|
||||
return f'{type(obj).__name__} (empty)'
|
||||
return f'{type(obj).__name__} (contains {contents})'
|
||||
return f'{type(obj).__name__}'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue