We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/Danstiv/cm-assistant/blob/master/tgbot/exception_handler.py#L92
А аргументах у тебя - limiters=None, а потом limiters = limiters or [], почему бы по дефолту пустой список не указать в аргументах?
limiters=None
limiters = limiters or []
The text was updated successfully, but these errors were encountered:
Нельзя пустой список в аргументах, в питоне это может нехорошо закончиться.
>>> def test(l=[]): ... l.append(42) ... print(l) ... >>> test() [42] >>> test() [42, 42]
Sorry, something went wrong.
No branches or pull requests
https://github.com/Danstiv/cm-assistant/blob/master/tgbot/exception_handler.py#L92
А аргументах у тебя -
limiters=None
, а потомlimiters = limiters or []
, почему бы по дефолту пустой список не указать в аргументах?The text was updated successfully, but these errors were encountered: