G-Node / G-Node/python-odml

dict subclassing in templates and terminologies

Offen
#329 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
25
Forks
30
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Subclassing the `dict` built-in is generally discouraged (and `collections.UserDict` exists for this purpose) but I think the reasons for that don't affect us here right now. I believe it's only an issue when overriding the magic methods, which we're not. Might want to keep in mind in case we do anything more fancy with the class.

_Originally posted by @achilleas-k in https://github.com/G-Node/python-odml/diffs_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.