changeset 53:89325a6a204d

Linked to a good page on mapping types suggested by mzz.
author Atul Varma <varmaa@toolness.com>
date Tue, 10 Jun 2008 23:49:06 -0700
parents dd7a5307fbf7
children 0315da3546b3
files PythonForJsProgrammers.txt
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
 =======