[Zope-Checkins] CVS: Zope/lib/python/StructuredText - STDOM.py:1.7.6.2

Fred Drake cvs-admin at zope.org
Wed Nov 19 07:23:26 EST 2003


Update of /cvs-repository/Zope/lib/python/StructuredText
In directory cvs.zope.org:/tmp/cvs-serv4329/StructuredText

Modified Files:
      Tag: Zope-2_6-branch
	STDOM.py 
Log Message:
Avoid nuissance SyntaxWarnings from the nightly test runs.


=== Zope/lib/python/StructuredText/STDOM.py 1.7.6.1 => 1.7.6.2 ===
--- Zope/lib/python/StructuredText/STDOM.py:1.7.6.1	Wed Sep 18 10:54:12 2002
+++ Zope/lib/python/StructuredText/STDOM.py	Wed Nov 19 07:23:25 2003
@@ -171,8 +171,7 @@
     def getPreviousSibling(self,
                            type=type,
                            sts=StringTypes,
-                           getattr=getattr,
-                           None=None):
+                           getattr=getattr):
 
         """
         The node immediately preceding this node.  If
@@ -243,8 +242,7 @@
     def _get_PreviousSibling(self,
                            type=type,
                            sts=StringTypes,
-                           getattr=getattr,
-                           None=None):
+                           getattr=getattr):
 
         return self.getPreviousSibling(type,sts,getattr,None)
 
@@ -292,8 +290,7 @@
     def getPreviousSibling(self,
                            type=type,
                            sts=StringTypes,
-                           getattr=getattr,
-                           None=None):
+                           getattr=getattr):
         """
         The node immediately preceding this node.  If
         there is no such node, this returns None.
@@ -346,8 +343,7 @@
     def _get_PreviousSibling(self,
                            type=type,
                            sts=StringTypes,
-                           getattr=getattr,
-                           None=None):
+                           getattr=getattr):
 
         return self.getPreviousSibling(type,sts,getattr,None)
 




More information about the Zope-Checkins mailing list