1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fix comments

This commit is contained in:
coder2020official 2022-03-07 17:31:02 +05:00
parent 8fab55e937
commit 5f03253398
2 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class State:
class StatesGroup:
def __init_subclass__(cls) -> None:
# print all variables of a subclass
for name, value in cls.__dict__.items():
if not name.startswith('__') and not callable(value) and isinstance(value, State):
# change value of that variable

View File

@ -159,7 +159,6 @@ class State:
class StatesGroup:
def __init_subclass__(cls) -> None:
# print all variables of a subclass
for name, value in cls.__dict__.items():
if not name.startswith('__') and not callable(value) and isinstance(value, State):
# change value of that variable