[Python-checkins] CVS: python/dist/src/Doc/api api.tex,1.58,1.59 refcounts.dat,1.2,1.3

Jeremy Hylton python-dev@python.org
Thu, 30 Mar 2000 17:27:26 -0500


Update of /projects/cvsroot/python/dist/src/Doc/api
In directory goon.cnri.reston.va.us:/home/jhylton/python/src/Doc/api

Modified Files:
	api.tex refcounts.dat 
Log Message:
Add PyDict_Copy() function to C API for dicts.  It returns a new
dictionary that contains the same key/value pairs as p.


Index: api.tex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -r1.58 -r1.59
*** api.tex	1999/11/09 17:31:42	1.58
--- api.tex	2000/03/30 22:27:23	1.59
***************
*** 2082,2085 ****
--- 2082,2089 ----
  \end{cfuncdesc}
  
+ \begin{cfuncdesc}{PyObject*}{PyDict_Copy}{PyObject *p}
+ Returns a new dictionary that contains the same key/value pairs as p.
+ \end{cfuncdesc}
+ 
  \begin{cfuncdesc}{void}{PyDict_Clear}{PyDictObject *p}
  Empties an existing dictionary of all key/value pairs.

Index: refcounts.dat
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/api/refcounts.dat,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** refcounts.dat	1999/10/20 16:03:38	1.2
--- refcounts.dat	2000/03/30 22:27:23	1.3
***************
*** 1,3 ****
! # Created by kip Montanaro <skip@mojam.com>.
  
  # Format:
--- 1,3 ----
! # Created by Skip Montanaro <skip@mojam.com>.
  
  # Format:
***************
*** 88,91 ****
--- 88,94 ----
  
  PyDict_New:PyObject*::+1:
+ 
+ PyDict_Copy:PyObject*::+1:
+ PyDict_Copy:PyObject*:p:0:
  
  PyDict_Next:int:::