[Python-checkins] CVS: /python/nondist/src/Compiler/compiler misc.py,1.5,1.6
Jeremy Hylton
jhylton@cnri.reston.va.us
Thu, 16 Mar 2000 15:02:41 -0500 (EST)
Update of /projects/cvsroot//python/nondist/src/Compiler/compiler
In directory bitdiddle:/home/jhylton/python/nondist/src/Compiler/compiler
Modified Files:
misc.py
Log Message:
change name of Set method: items -> elements (avoids confusion with
dict)
Index: misc.py
===================================================================
RCS file: /projects/cvsroot//python/nondist/src/Compiler/compiler/misc.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** misc.py 2000/02/21 22:46:00 1.5
--- misc.py 2000/03/16 20:02:38 1.6
***************
*** 17,21 ****
def add(self, elt):
self.elts[elt] = elt
! def items(self):
return self.elts.keys()
def has_elt(self, elt):
--- 17,21 ----
def add(self, elt):
self.elts[elt] = elt
! def elements(self):
return self.elts.keys()
def has_elt(self, elt):