Did class inheritance from "dict" work in early Python?

J

John Nagle

Did class inheritance from "dict" work in early Python? Or did
that only start working when "new objects" came in?

John Nagle
 
S

Stephen Hansen

Did class inheritance from "dict" work in early Python? Or did
that only start working when "new objects" came in?

The latter, that's why UserDict (and UserList) was added.

--

Stephen Hansen
... Also: Ixokai
... Mail: me+list/python (AT) ixokai (DOT) io
... Blog: http://meh.ixokai.io/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)

iQEcBAEBAgAGBQJMR7bsAAoJEKcbwptVWx/lOMMH/0q1h/fFbkoTcdFGzezUKX7l
7JMi9rtxxV1TUuiK0/688c7s9KROO/IWlPbQccPsdrYlDdckA7V/6ppdpFt+si9B
6gc//49wnQ78Eqc9A2d1tm7YSBpc5q/49N1NaSQEE+0IdCpJaBVdcO49CTocObb4
cqp8djCYgU0aRxYect7yjaJG3ZjP/HQu4eit6Qsu6y4+srQz7eSjHK5DYuY4MtJk
zOOBe3NVO2hFa33zZmEKVtNSDzWabIQjH7Fo6W2CgTrNokR+JFY7WPopSYRhc4S1
qAr5l/eeAGQtMujUXek16+HIy91cgV/IHQCG/Aif6glPV1lDtBwlZUpUU6ne7zM=
=RZCN
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,173
Messages
2,570,938
Members
47,474
Latest member
VivianStuk

Latest Threads

Top