A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-April/026145.html below:

[Python-checkins] python/dist/src/Lib UserDict.py,1.16,1.17

[Python-checkins] python/dist/src/Lib UserDict.py,1.16,1.17gvanrossum@sourceforge.net gvanrossum@sourceforge.net
Sat, 13 Apr 2002 07:03:41 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv28555

Modified Files:
	UserDict.py 
Log Message:
Add pop() to UserDict.


Index: UserDict.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/UserDict.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** UserDict.py	5 Nov 2001 17:40:48 -0000	1.16
--- UserDict.py	13 Apr 2002 14:03:38 -0000	1.17
***************
*** 51,54 ****
--- 51,56 ----
              self[key] = failobj
          return self[key]
+     def pop(self, key):
+         return self.data.pop(key)
      def popitem(self):
          return self.data.popitem()






RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4