ballistica update ; assets , party password

This commit is contained in:
Ayush Saini 2026-07-22 16:32:40 +05:30
parent a2d7d72d8a
commit 17a11b9cef
87 changed files with 6967 additions and 1627 deletions

View file

@ -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__}'