Re: Is there a way to implement the ** operator on a custom object

Liste des GroupesRevenir à cl python 
Sujet : Re: Is there a way to implement the ** operator on a custom object
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.python
Date : 10. Feb 2024, 14:24:39
Autres entêtes
Organisation : Stefan Ram
Message-ID : <sub-20240210142355@ram.dialup.fu-berlin.de>
References : 1 2
Cameron Simpson <cs@cskk.id.au> writes:
That said, I have some classes which subclass dict, int, str and
namedtuple.

  Consider subclassing
  collections.UserDict   instead of dict and
  collections.UserString instead of str.

Date Sujet#  Auteur
10 Feb 24 o Re: Is there a way to implement the ** operator on a custom object1Stefan Ram

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal