# HG changeset patch # User Atul Varma # Date 1213166946 25200 # Node ID 89325a6a204d32a1fef1053ade6414cf34d74210 # Parent dd7a5307fbf782c7cdc902c29d17becdd4240872 Linked to a good page on mapping types suggested by mzz. diff -r dd7a5307fbf7 -r 89325a6a204d PythonForJsProgrammers.txt --- a/PythonForJsProgrammers.txt Tue Jun 10 23:38:56 2008 -0700 +++ b/PythonForJsProgrammers.txt Tue Jun 10 23:49:06 2008 -0700 @@ -493,7 +493,10 @@ have meta-methods. Instead, classes are used to do that sort of thing. In some ways, this is unfortunate, since the simplicity of conflating objects with dictionaries, as JavaScript and Lua do, makes -understanding and using them easier. +understanding and using them easier. But in exchange, dictionaries do +come pre-packaged with a bevy of `useful methods`_. + +.. _`useful methods`: http://docs.python.org/lib/typesmapping.html Classes =======