modbot.py/helpers.py
2022-04-18 03:09:13 +03:00

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