11 lines
204 B
Python
11 lines
204 B
Python
class RID(object):
|
|
def __init__(self):
|
|
self._id = 0
|
|
@property
|
|
def x(self):
|
|
self._id += 1
|
|
return self._id
|
|
@x.setter
|
|
def x(self, value):
|
|
self._id = value
|