Am 25.02.2020 13:38 schrieb BlindAnagram:
and I am wondering if it is possible to use a class something like

class get_it(object):

  seen = dict()

  def __call__(piece):
    return seen[piece]

What happened when you tried it?

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to