[Python-checkins] python/dist/src/Doc/ref ref6.tex,1.70,1.71

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Tue Aug 3 07:18:00 CEST 2004


Update of /cvsroot/python/python/dist/src/Doc/ref
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13411/ref

Modified Files:
	ref6.tex 
Log Message:
Document general mappings for the locals argument for exec and execfile().

Index: ref6.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref6.tex,v
retrieving revision 1.70
retrieving revision 1.71
diff -C2 -d -r1.70 -r1.71
*** ref6.tex	1 Jan 2004 05:43:53 -0000	1.70
--- ref6.tex	3 Aug 2004 05:17:57 -0000	1.71
***************
*** 874,879 ****
  is specified, it should be a dictionary, which will be used for both
  the global and the local variables.  If two expressions are given,
! both must be dictionaries and they are used for the global and local
! variables, respectively.
  
  As a side effect, an implementation may insert additional keys into
--- 874,880 ----
  is specified, it should be a dictionary, which will be used for both
  the global and the local variables.  If two expressions are given,
! they are used for the global and local variables, respectively.
! If provided, \var{locals} can be any mapping object.
! \versionchanged[formerly \var{locals} was required to be a dictionary]{2.4}
  
  As a side effect, an implementation may insert additional keys into



More information about the Python-checkins mailing list