Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ BA
Class
BA
Lib/test/test_sys.py:1862–1863 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1860
# non-empty __slots__
1861
check = self.check_slots
1862
class
BA(bytearray):
1863
__slots__ =
'a'
,
'b'
,
'c'
1864
check(BA(), bytearray(),
'3P'
)
1865
class
D(dict):
1866
__slots__ =
'a'
,
'b'
,
'c'
Callers
1
test_slots
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_slots
Method · 0.68