Use true booleans and PEP8 for argdefaults.

This commit is contained in:
Georg Brandl 2009-09-16 15:54:04 +00:00
parent 3d6575dfc8
commit fe99105835
9 changed files with 21 additions and 21 deletions

View file

@ -43,7 +43,7 @@ class Node(xml.dom.Node):
def __bool__(self):
return True
def toxml(self, encoding = None):
def toxml(self, encoding=None):
return self.toprettyxml("", "", encoding)
def toprettyxml(self, indent="\t", newl="\n", encoding=None):