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/2000-October/014205.html below:

[Python-checkins] CVS: python/dist/src/Lib/xml/sax saxutils.py,1.10,1.11

[Python-checkins] CVS: python/dist/src/Lib/xml/sax saxutils.py,1.10,1.11Lars Marius Garshol python-dev@python.org
Wed, 11 Oct 2000 15:35:04 -0700
Update of /cvsroot/python/python/dist/src/Lib/xml/sax
In directory slayer.i.sourceforge.net:/tmp/cvs-serv30249

Modified Files:
	saxutils.py 
Log Message:
Added parent attribute with getters and setters on XMLFilterBase.


Index: saxutils.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xml/sax/saxutils.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** saxutils.py	2000/10/06 21:11:20	1.10
--- saxutils.py	2000/10/11 22:35:00	1.11
***************
*** 105,108 ****
--- 105,112 ----
      through."""
  
+     def __init__(self, parent = None):
+         xmlreader.XMLReader.__init__(self)
+         self._parent = parent
+     
      # ErrorHandler methods
  
***************
*** 193,196 ****
--- 197,208 ----
      def setProperty(self, name, value):
          self._parent.setProperty(name, value)
+ 
+     # XMLFilter methods
+ 
+     def getParent(self):
+         return self._parent
+ 
+     def setParent(self, parent):
+         self._parent = parent
  
  # --- Utility functions




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