[Python-checkins] python/dist/src/Misc cheatsheet,1.4,1.5
rhettinger@users.sourceforge.net
rhettinger@users.sourceforge.net
2003年1月25日 19:29:18 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv12621
Modified Files:
cheatsheet
Log Message:
Part 3 of Py2.3 update
Index: cheatsheet
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/cheatsheet,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** cheatsheet 25 Jan 2003 22:35:42 -0000 1.4
--- cheatsheet 26 Jan 2003 03:29:15 -0000 1.5
***************
*** 209,213 ****
+x, -x, ~x Unary operators
x**y Power
! x*y x/y x%y mult, division, modulo
x+y x-y addition, substraction
x<<y x>>y Bit shifting
--- 209,213 ----
+x, -x, ~x Unary operators
x**y Power
! x*y x/y x%y x//y mult, division, modulo, floor division
x+y x-y addition, substraction
x<<y x>>y Bit shifting
***************
*** 333,336 ****
--- 333,338 ----
ZeroDivisionError
raised when zero second argument of div or modulo op
+ FloatingPointError
+ raised when a floating point operation fails
Operations on all sequence types (lists, tuples, strings)
***************
*** 338,343 ****
Operations on all sequence types
Operation Result Notes
! x in s 1 if an item of s is equal to x, else 0
! x not in s 0 if an item of s is equal to x, else 1
for x in s: loops over the sequence
s + t the concatenation of s and t
--- 340,345 ----
Operations on all sequence types
Operation Result Notes
! x in s True if an item of s is equal to x, else False
! x not in s False if an item of s is equal to x, else True
for x in s: loops over the sequence
s + t the concatenation of s and t
***************
*** 369,373 ****
s.append(x) same as s[len(s) : len(s)] = [x]
s.count(x) return number of i's for which s[i] == x
! s.extend(x) same as s[len(s):len(s)]= x
s.index(x) return smallest i such that s[i] == x (1)
s.insert(i, x) same as s[i:i] = [x] if i >= 0
--- 371,375 ----
s.append(x) same as s[len(s) : len(s)] = [x]
s.count(x) return number of i's for which s[i] == x
! s.extend(x) same as s[len(s):len(s)]= x
s.index(x) return smallest i such that s[i] == x (1)
s.insert(i, x) same as s[i:i] = [x] if i >= 0
***************
*** 405,409 ****
d.copy() a shallow copy of d
d.get(k,defaultval) the item of d with key k (4)
! d.has_key(k) 1 if d has key k, else 0
d.items() a copy of d's list of (key, item) pairs (2)
d.iteritems() an iterator over (key, value) pairs (7)
--- 407,411 ----
d.copy() a shallow copy of d
d.get(k,defaultval) the item of d with key k (4)
! d.has_key(k) True if d has key k, else False
d.items() a copy of d's list of (key, item) pairs (2)
d.iteritems() an iterator over (key, value) pairs (7)
***************
*** 600,604 ****
f.fileno() Get fileno (fd) for file f.
f.flush() Flush file f's internal buffer.
! f.isatty() 1 if file f is connected to a tty-like dev, else 0.
f.read([size]) Read at most size bytes from file f and return as a string
object. If size omitted, read to EOF.
--- 602,606 ----
f.fileno() Get fileno (fd) for file f.
f.flush() Flush file f's internal buffer.
! f.isatty() True if file f is connected to a tty-like dev, else False.
f.read([size]) Read at most size bytes from file f and return as a string
object. If size omitted, read to EOF.
***************
*** 620,624 ****
tty).
IOError
! Other I/O-related I/O operation failure
--- 622,628 ----
tty).
IOError
! Other I/O-related I/O operation failure.
! OSError
! OS system call failed.
***************
*** 718,721 ****
--- 722,729 ----
return [result] -- Exits from function (or method) and returns result (use a tuple to
return more than one value). If no result given, then returns None.
+ yield result -- Freezes the execution frame of a generator and returns the result
+ to the iterator's .next() method. Upon the next call to next(),
+ resumes execution at the frozen point with all of the local variables
+ still intact.
Exception Statements
***************
*** 920,925 ****
apply(f, args[, Calls func/method f with arguments args and optional
keywords]) keywords.
! callable(x) Returns 1 if x callable, else 0.
chr(i) Returns one-character string whose ASCII code isinteger i
cmp(x,y) Returns negative, 0, positive if x <, ==, > to y
coerce(x,y) Returns a tuple of the two numeric arguments converted to a
--- 928,937 ----
apply(f, args[, Calls func/method f with arguments args and optional
keywords]) keywords.
! bool(x) Returns True when the argument x is true and False otherwise.
! buffer(obj) Creates a buffer reference to an object.
! callable(x) Returns True if x callable, else False.
chr(i) Returns one-character string whose ASCII code isinteger i
+ classmethod(f) Converts a function f, into a method with the class as the
+ first argument. Useful for creating alternative constructors.
cmp(x,y) Returns negative, 0, positive if x <, ==, > to y
coerce(x,y) Returns a tuple of the two numeric arguments converted to a
***************
*** 935,942 ****
--- 947,956 ----
delattr(obj, name) deletes attribute named name of object obj <=> del obj.name
If no args, returns the list of names in current
+ dict([items]) Create a new dictionary from the specified item list.
dir([object]) localsymbol table. With a module, class or class
instanceobject as arg, returns list of names in its attr.
dict.
divmod(a,b) Returns tuple of (a/b, a%b)
+ enumerate(seq) Return a iterator giving: (0, seq[0]), (1, seq[1]), ...
eval(s[, globals[, Eval string s in (optional) globals, locals contexts.s must
locals]]) have no NUL's or newlines. s can also be acode object.
***************
*** 944,947 ****
--- 958,962 ----
execfile(file[, Executes a file without creating a new module, unlike
globals[, locals]]) import.
+ file() Synonym for open().
filter(function, Constructs a list from those elements of sequence for which
sequence) function returns true. function takes one parameter.
***************
*** 954,957 ****
--- 969,973 ----
name)
hash(object) Returns the hash value of the object (if it has one)
+ help(f) Display documentation on object f.
hex(x) Converts a number x to a hexadecimal string.
id(object) Returns a unique 'identity' integer for an object.
***************
*** 967,970 ****
--- 983,987 ----
class2)
Returns the length (the number of items) of an object
+ iter(collection) Returns an iterator over the collection.
len(obj) (sequence, dictionary, or instance of class implementing
__len__).
***************
*** 988,992 ****
--- 1005,1014 ----
ord(c) Returns integer ASCII value of c (a string of len 1). Works
with Unicode char.
+ object() Create a base type. Used as a superclass for new-style objects.
+ open(name Open a file.
+ [, mode
+ [, buffering]])
pow(x, y [, z]) Returns x to power y [modulo z]. See also ** operator.
+ property() Created a property with access controlled by functions.
range(start [,end Returns list of ints from >= start and < end.With 1 arg,
[, step]]) list from 0..arg-1With 2 args, list from start..end-1With 3
***************
*** 1013,1018 ****
--- 1035,1045 ----
[, step]) Oattributes: start, stop, step.
Returns a string containing a nicely
+ staticmethod() Convert a function to method with no self or class
+ argument. Useful for methods associated with a class that
+ do not need access to an object's internal state.
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.
tuple(sequence) Creates a tuple with same elements as sequence. If already
a tuple, return itself (not a copy).
***************
*** 1046,1049 ****
--- 1073,1078 ----
SystemExit
On 'sys.exit()'
+ StopIteration
+ Signal the end from iterator.next()
StandardError
Base class for all built-in exceptions; derived from Exception
***************
*** 1100,1103 ****
--- 1129,1140 ----
ValueError
On arg error not covered by TypeError or more precise
+ Warning
+ UserWarning
+ DeprecationWarning
+ PendingDeprecationWarning
+ SyntaxWarning
+ OverflowWarning
+ RuntimeWarning
+ FutureWarning
***************
*** 1123,1127 ****
Implements >, <, == etc...
__hash__(s) Compute a 32 bit hash code; hash() and dictionary ops
! __nonzero__(s) Returns 0 or 1 for truth value testing
__getattr__(s, name) called when attr lookup doesn't find <name>
__setattr__(s, name, val) called when setting an attr
--- 1160,1164 ----
Implements >, <, == etc...
__hash__(s) Compute a 32 bit hash code; hash() and dictionary ops
! __nonzero__(s) Returns False or True for truth value testing
__getattr__(s, name) called when attr lookup doesn't find <name>
__setattr__(s, name, val) called when setting an attr
***************
*** 1189,1195 ****
Special informative state attributes for some types:
- Lists & Dictionaries:
- __methods__ (list, R/O): list of method names of the object
-
Modules:
__doc__ (string/None, R/O): doc string (<=> __dict__['__doc__'])
--- 1226,1229 ----
***************
*** 1198,1205 ****
__file__(string/undefined, R/O): pathname of .pyc, .pyo or .pyd (undef for
modules statically linked to the interpreter)
- __path__(string/undefined, R/O): fully qualified package name when applies.
Classes: [in bold: writable since 1.5.2]
__doc__ (string/None, R/W): doc string (<=> __dict__['__doc__'])
__name__(string, R/W): class name (also in __dict__['__name__'])
__bases__ (tuple, R/W): parent classes
--- 1232,1239 ----
__file__(string/undefined, R/O): pathname of .pyc, .pyo or .pyd (undef for
modules statically linked to the interpreter)
Classes: [in bold: writable since 1.5.2]
__doc__ (string/None, R/W): doc string (<=> __dict__['__doc__'])
+ __module__ is the module name in which the class was defined
__name__(string, R/W): class name (also in __dict__['__name__'])
__bases__ (tuple, R/W): parent classes
***************
*** 1209,1212 ****
--- 1243,1247 ----
__class__ (class, R/W): instance's class
__dict__ (dict, R/W): attributes
+
User-defined functions: [bold: writable since 1.5.2]
__doc__ (string/None, R/W): doc string
***************
*** 1217,1220 ****
--- 1252,1260 ----
func_code (code, R/W): code object representing the compiled function body
func_globals (dict, R/O): ref to dictionary of func global variables
+ func_dict (dict, R/W): same as __dict__ contains the namespace supporting
+ arbitrary function attributes
+ func_closure (R/O): None or a tuple of cells that contain bindings
+ for the function's free variables.
+
User-defined Methods:
***************
*** 1224,1232 ****
im_self (instance/None, R/O): target instance object (None if unbound)
im_func (function, R/O): function object
Built-in Functions & methods:
__doc__ (string/None, R/O): doc string
__name__ (string, R/O): function name
__self__ : [methods only] target object
! __members__ = list of attr names: ['__doc__','__name__','__self__'])
Codes:
co_name (string, R/O): function name
--- 1264,1273 ----
im_self (instance/None, R/O): target instance object (None if unbound)
im_func (function, R/O): function object
+
Built-in Functions & methods:
__doc__ (string/None, R/O): doc string
__name__ (string, R/O): function name
__self__ : [methods only] target object
!
Codes:
co_name (string, R/O): function name
***************
*** 1234,1237 ****
--- 1275,1281 ----
co_nlocals (int, R/O): number of local vars (including args)
co_varnames (tuple, R/O): names of local vars (starting with args)
+ co_cellvars (tuple, R/O)) the names of local variables referenced by
+ nested functions
+ co_freevars (tuple, R/O)) names of free variables
co_code (string, R/O): sequence of bytecode instructions
co_consts (tuple, R/O): litterals used by the bytecode, 1st one is
***************
*** 1242,1246 ****
co_lnotab (string, R/O): string encoding bytecode offsets to line numbers.
co_stacksize (int, R/O): required stack size (including local vars)
- co_firstlineno (int, R/O): first line number of the function
co_flags (int, R/O): flags for the interpreter
bit 2 set if fct uses "*arg" syntax
--- 1286,1289 ----
***************
*** 1275,1280 ****
real (float, R/O): real part
imag (float, R/O): imaginary part
- XRanges:
- tolist (Built-in method, R/O): ?
--- 1318,1321 ----
***************
*** 1317,1325 ****
exit(n) Exits with status n. Raises SystemExit exception.(Hence can
be caught and ignored by program)
! getrefcount(object Returns the reference count of the object. Generally 1
! ) higherthan you might expect, because of object arg temp
reference.
setcheckinterval( Sets the interpreter's thread switching interval (in number
! interval) ofvirtualcode instructions, default:10).
settrace(func) Sets a trace function: called before each line ofcode is
exited.
--- 1358,1366 ----
exit(n) Exits with status n. Raises SystemExit exception.(Hence can
be caught and ignored by program)
! getrefcount(object Returns the reference count of the object. Generally one
! ) higher than you might expect, because of object arg temp
reference.
setcheckinterval( Sets the interpreter's thread switching interval (in number
! interval) of virtual code instructions, default:10).
settrace(func) Sets a trace function: called before each line ofcode is
exited.
***************
*** 1328,1332 ****
(exc_type, exc_value, exc_traceback).Warning: assigning the
exc_info() traceback return value to a loca variable in a
! functionhandling an exception will cause a circular
reference.
setdefaultencoding Change default Unicode encoding - defaults to 7-bit ASCII.
--- 1369,1373 ----
(exc_type, exc_value, exc_traceback).Warning: assigning the
exc_info() traceback return value to a loca variable in a
! function handling an exception will cause a circular
reference.
setdefaultencoding Change default Unicode encoding - defaults to 7-bit ASCII.
***************
*** 1755,1758 ****
--- 1796,1800 ----
cos(x)
cosh(x)
+ degrees(x)
exp(x)
fabs(x)
***************
*** 1761,1768 ****
frexp(x) -- Unlike C: (float, int) = frexp(float)
ldexp(x, y)
! log(x)
log10(x)
modf(x) -- Unlike C: (float, float) = modf(float)
pow(x, y)
sin(x)
sinh(x)
--- 1803,1811 ----
frexp(x) -- Unlike C: (float, int) = frexp(float)
ldexp(x, y)
! log(x [,base])
log10(x)
modf(x) -- Unlike C: (float, float) = modf(float)
pow(x, y)
+ radians(x)
sin(x)
sinh(x)
***************
*** 1805,1815 ****
binhex Macintosh binhex compression/decompression.
bisect List bisection algorithms.
! bz2 Support for bz2 compression/decompression.
calendar Calendar printing functions.
cgi Wraps the WWW Forms Common Gateway Interface (CGI).
! cgitb Utility for handling CGI tracebacks.
CGIHTTPServer CGI http services.
cmd A generic class to build line-oriented command interpreters.
! datetime Basic date and time types.
code Utilities needed to emulate Python's interactive interpreter
codecs Lookup existing Unicode encodings and register new ones.
--- 1848,1858 ----
binhex Macintosh binhex compression/decompression.
bisect List bisection algorithms.
! bz2 Support for bz2 compression/decompression.
calendar Calendar printing functions.
cgi Wraps the WWW Forms Common Gateway Interface (CGI).
! cgitb Utility for handling CGI tracebacks.
CGIHTTPServer CGI http services.
cmd A generic class to build line-oriented command interpreters.
! datetime Basic date and time types.
code Utilities needed to emulate Python's interactive interpreter
codecs Lookup existing Unicode encodings and register new ones.
***************
*** 1823,1834 ****
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]
! difflib Tool for creating delta between sequences.
dis Bytecode disassembler.
distutils Package installation system.
! doctest Tool for running and verifying tests inside doc strings.
dospath Common operations on DOS pathnames.
dumbdbm A dumb and slow but simple dbm clone.
[DEL:dump:DEL] [DEL:Print python code that reconstructs a variable.:DEL]
! email Comprehensive support for internet email.
exceptions Class based built-in exception hierarchy.
filecmp File comparison.
--- 1866,1877 ----
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]
! difflib Tool for creating delta between sequences.
dis Bytecode disassembler.
distutils Package installation system.
! doctest Tool for running and verifying tests inside doc strings.
dospath Common operations on DOS pathnames.
dumbdbm A dumb and slow but simple dbm clone.
[DEL:dump:DEL] [DEL:Print python code that reconstructs a variable.:DEL]
! email Comprehensive support for internet email.
exceptions Class based built-in exception hierarchy.
filecmp File comparison.
***************
*** 1849,1857 ****
[DEL:grep:DEL] [DEL:'grep' utilities.:DEL]
gzip Read & write gzipped files.
! heapq Priority queue implemented using lists organized as heaps.
! HMAC Keyed-Hashing for Message Authentication -- RFC 2104.
htmlentitydefs Proposed entity definitions for HTML.
htmllib HTML parsing utilities.
! HTMLParser A parser for HTML and XHTML.
httplib HTTP client class.
ihooks Hooks into the "import" mechanism.
--- 1892,1900 ----
[DEL:grep:DEL] [DEL:'grep' utilities.:DEL]
gzip Read & write gzipped files.
! heapq Priority queue implemented using lists organized as heaps.
! HMAC Keyed-Hashing for Message Authentication -- RFC 2104.
htmlentitydefs Proposed entity definitions for HTML.
htmllib HTML parsing utilities.
! HTMLParser A parser for HTML and XHTML.
httplib HTTP client class.
ihooks Hooks into the "import" mechanism.
***************
*** 1859,1863 ****
imghdr Recognizing image files based on their first few bytes.
imputil Privides a way of writing customised import hooks.
! inspect Tool for probing live Python objects.
keyword List of Python keywords.
knee A Python re-implementation of hierarchical module import.
--- 1902,1906 ----
imghdr Recognizing image files based on their first few bytes.
imputil Privides a way of writing customised import hooks.
! inspect Tool for probing live Python objects.
keyword List of Python keywords.
knee A Python re-implementation of hierarchical module import.
***************
*** 1866,1870 ****
locale Support for number formatting using the current locale
settings.
! logging Python logging facility.
macpath Pathname (or related) operations for the Macintosh.
macurl2path Mac specific module for conversion between pathnames and URLs.
--- 1909,1913 ----
locale Support for number formatting using the current locale
settings.
! logging Python logging facility.
macpath Pathname (or related) operations for the Macintosh.
macurl2path Mac specific module for conversion between pathnames and URLs.
***************
*** 1884,1888 ****
ntpath Common operations on DOS pathnames.
nturl2path Mac specific module for conversion between pathnames and URLs.
! optparse A comprehensive tool for processing command line options.
os Either mac, dos or posix depending system.
[DEL:packmail: [DEL:Create a self-unpacking shell archive.:DEL]
--- 1927,1931 ----
ntpath Common operations on DOS pathnames.
nturl2path Mac specific module for conversion between pathnames and URLs.
! optparse A comprehensive tool for processing command line options.
os Either mac, dos or posix depending system.
[DEL:packmail: [DEL:Create a self-unpacking shell archive.:DEL]
***************
*** 1892,1896 ****
Cimplementation exists in built-in module: cPickle).
pipes Conversion pipeline templates.
! pkgunil Utilities for working with Python packages.
popen2 variations on pipe open.
poplib A POP3 client class. Based on the J. Myers POP3 draft.
--- 1935,1939 ----
Cimplementation exists in built-in module: cPickle).
pipes Conversion pipeline templates.
! pkgunil Utilities for working with Python packages.
popen2 variations on pipe open.
poplib A POP3 client class. Based on the J. Myers POP3 draft.
***************
*** 1901,1905 ****
profile Class for profiling python code.
pstats Class for printing reports on profiled python code.
! pydoc Utility for generating documentation from source files.
pty Pseudo terminal utilities.
pyexpat Interface to the Expay XML parser.
--- 1944,1948 ----
profile Class for profiling python code.
pstats Class for printing reports on profiled python code.
! pydoc Utility for generating documentation from source files.
pty Pseudo terminal utilities.
pyexpat Interface to the Expay XML parser.
***************
*** 1919,1923 ****
robotparser Parse robot.txt files, useful for web spiders.
sched A generally useful event scheduler class.
! sets Module for a set datatype.
sgmllib A parser for SGML.
shelve Manage shelves of pickled objects.
--- 1962,1966 ----
robotparser Parse robot.txt files, useful for web spiders.
sched A generally useful event scheduler class.
! sets Module for a set datatype.
sgmllib A parser for SGML.
shelve Manage shelves of pickled objects.
***************
*** 1941,1948 ****
symbol Non-terminal symbols of Python grammar (from "graminit.h").
tabnanny,/font> Check Python source for ambiguous indentation.
! tarfile Facility for reading and writing to the *nix tarfile format.
telnetlib TELNET client class. Based on RFC 854.
tempfile Temporary file name allocation.
! textwrap Object for wrapping and filling text.
threading Proposed new higher-level threading interfaces
threading_api (doc of the threading module)
--- 1984,1991 ----
symbol Non-terminal symbols of Python grammar (from "graminit.h").
tabnanny,/font> Check Python source for ambiguous indentation.
! tarfile Facility for reading and writing to the *nix tarfile format.
telnetlib TELNET client class. Based on RFC 854.
tempfile Temporary file name allocation.
! textwrap Object for wrapping and filling text.
threading Proposed new higher-level threading interfaces
threading_api (doc of the threading module)
***************
*** 1964,1970 ****
[DEL:util:DEL] [DEL:some useful functions that don't fit elsewhere !!:DEL]
uu UUencode/UUdecode.
! unittest Utilities for implementing unit testing.
wave Stuff to parse WAVE files.
! weakref Tools for creating and managing weakly referenced objects.
webbrowser Platform independent URL launcher.
[DEL:whatsound: [DEL:Several routines that help recognizing sound files.:DEL]
--- 2007,2013 ----
[DEL:util:DEL] [DEL:some useful functions that don't fit elsewhere !!:DEL]
uu UUencode/UUdecode.
! unittest Utilities for implementing unit testing.
wave Stuff to parse WAVE files.
! weakref Tools for creating and managing weakly referenced objects.
webbrowser Platform independent URL launcher.
[DEL:whatsound: [DEL:Several routines that help recognizing sound files.:DEL]
***************
*** 1976,1980 ****
xml.dom Classes for processing XML using the Document Object Model.
xml.sax Classes for processing XML using the SAX API.
! xmlrpclib Support for remote procedure calls using XML.
zipfile Read & write PK zipped files.
[DEL:zmod:DEL] [DEL:Demonstration of abstruse mathematical concepts.:DEL]
--- 2019,2023 ----
xml.dom Classes for processing XML using the Document Object Model.
xml.sax Classes for processing XML using the SAX API.
! xmlrpclib Support for remote procedure calls using XML.
zipfile Read & write PK zipped files.
[DEL:zmod:DEL] [DEL:Demonstration of abstruse mathematical concepts.:DEL]
***************
*** 1982,1987 ****
- (following list not revised)
-
* Built-ins *
--- 2025,2028 ----
***************
*** 1991,1995 ****
array Obj efficiently representing arrays of basic values
math Math functions of C standard
! time Time-related functions
regex Regular expression matching operations
marshal Read and write some python values in binary format
--- 2032,2036 ----
array Obj efficiently representing arrays of basic values
math Math functions of C standard
! time Time-related functions (also the newer datetime module)
regex Regular expression matching operations
marshal Read and write some python values in binary format
***************
*** 2002,2006 ****
re Functions useful for working with regular expressions
string Useful string and characters functions and exceptions
! whrandom Wichmann-Hill pseudo-random number generator
thread Low-level primitives for working with process threads
threading idem, new recommanded interface.
--- 2043,2047 ----
re Functions useful for working with regular expressions
string Useful string and characters functions and exceptions
! random Mersenne Twister pseudo-random number generator
thread Low-level primitives for working with process threads
threading idem, new recommanded interface.
***************
*** 2031,2035 ****
md5 Interface to RSA's MD5 message digest algorithm
mpz Interface to int part of GNU multiple precision library
! rotor Implementation of a rotor-based encryption algorithm
* Stdwin * Standard Window System
--- 2072,2077 ----
md5 Interface to RSA's MD5 message digest algorithm
mpz Interface to int part of GNU multiple precision library
! rotor Implementation of a rotor-based encryption algorithm
! HMAC Keyed-Hashing for Message Authentication -- RFC 2104.
* Stdwin * Standard Window System
***************
*** 2061,2066 ****
dir(<module>) list functions, variables in <module>
dir() get object keys, defaults to local name space
- X.__methods__ list of methods supported by X (if any)
- X.__members__ List of X's data attributes
if __name__ == '__main__': main() invoke main if running as script
map(None, lst1, lst2, ...) merge lists
--- 2103,2106 ----
***************
*** 2108,2111 ****
--- 2148,2153 ----
C-c ! starts a Python interpreter window; this will be used by
subsequent C-c C-c or C-c | commands
+ C-c C-w runs PyChecker
+
VARIABLES
py-indent-offset indentation increment
***************
*** 2170,2173 ****
--- 2212,2217 ----
c, continue
continue until next breakpoint
+ j, jump lineno
+ Set the next line that will be executed
a, args
print args to current function