Evgeniy Ivanov <a...@yandex.ru> added the comment:
What about this? if x > 2: my_func(x) ok this code at 1 line, this code work, but... PEP 8: E701 multiple statements on one line (colon) Well f//k it with a pass Why not add an empty action operator? What is the problem? Such an instruction has existed since the days of assembler - nop ---------- status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45456> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com