Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python structure like c

class test(object):
    __slots__ = ['a', 'next']

x = test()
x.next = x
x.a = 42
 
PREVIOUS NEXT
Tagged: #python #structure
ADD COMMENT
Topic
Name
9+7 =