G-Node / G-Node/python-odml

dict subclassing in templates and terminologies

Aperta
#329 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
25
Fork
30
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.