Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: class FL: def __init__(self, func): self.func = func def __str__(self): return self.func()
extra = FL(lambda: f'{extra},waiters:{len(self._waiters)}') ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32954> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com