1 2 3 4 5 6 7 8
# pylint: disable=missing-docstring # https://github.com/PyCQA/pylint/issues/4221 import random o = object() if random.choice([True, False]): o.count = None "abc".count("a")