[Python-de] Re: konstante Lists, Dictionaries

[email protected] (Stefan Ram) 23 Dec 2023 10:16:35 GMT
Newsgroups gmane.comp.python.general.german
Organization Stefan Ram
Message-ID <[email protected]>
[email protected] (Stefan Ram) writes:
>class dictionary( collections.UserDict ):

  Oben habe ich versehentlich gegen eine Empfehlung aus PEP 8
  verstoßen.

|Class names should normally use the CapWords convention.
PEP 8

  Ich hätte die Klasse also "Dictionary" (usw.) nennen sollen!

_______________________________________________
python-de Mailingliste -- [email protected]
Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an [email protected]
https://mail.python.org/mailman3/lists/python-de.python.org/
Mitgliedsadresse: [email protected]