[Zope-Checkins] CVS: Packages/StructuredText - STDOM.py:1.9
Guido van Rossum
guido@python.org
Tue, 1 Oct 2002 10:09:48 -0400
Update of /cvs-repository/Packages/StructuredText
In directory cvs.zope.org:/tmp/cvs-serv27494/lib/python/StructuredText
Modified Files:
STDOM.py
Log Message:
Get rid of arguments named None.
This is a SyntaxWarning in Python 2.3 and will be an error in 2.4.
=== Packages/StructuredText/STDOM.py 1.8 => 1.9 ===
--- Packages/StructuredText/STDOM.py:1.8 Wed Sep 18 11:12:47 2002
+++ Packages/StructuredText/STDOM.py Tue Oct 1 10:09:48 2002
@@ -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)