]> granicus.if.org Git - python/commitdiff
Update for new module and new builtin.
authorRaymond Hettinger <python@rcn.com>
Sat, 12 Jul 2003 23:55:57 +0000 (23:55 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 12 Jul 2003 23:55:57 +0000 (23:55 +0000)
Misc/cheatsheet

index ee4b8e04611425176e965814c7504a8e28d50a4b..0c16ddb334f3fa43e8d55a0d29c943a981adf913 100644 (file)
@@ -1041,6 +1041,8 @@ str(object)         printablerepresentation of an object. Class overridable
                     (__str__).See also repr().
 super(type)         Create an unbound super object.  Used to call cooperative
                     superclass methods.
+sum(sequence,       Add the values in the sequence and return the sum.
+    [start]) 
 tuple(sequence)     Creates a tuple with same elements as sequence. If already
                     a tuple, return itself (not a copy).
                     Returns a type object [see module types] representing
@@ -1862,6 +1864,7 @@ compileall       Force "compilation" of all .py files in a directory.
 ConfigParser     Configuration file parser (much like windows .ini files)
 copy             Generic shallow and deep copying operations.
 copy_reg         Helper to provide extensibility for pickle/cPickle.
+csv              Read and write files with comma separated values.
 dbhash           (g)dbm-compatible interface to bsdhash.hashopen.
 dircache         Sorted list of files in a dir, using a cache.
 [DEL:dircmp:DEL] [DEL:Defines a class to build directory diff tools on.:DEL]