commit | fe99105835b59e66ca1fd53ea3f8bcec3ec7cb3c | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed Sep 16 15:54:04 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Wed Sep 16 15:54:04 2009 +0000 |
tree | 5f0300442574c00e152284d0a223380f59dac6bf | |
parent | 3d6575dfc85cd11473aa93a8219ac010a823919a [diff] [blame] |
Use true booleans and PEP8 for argdefaults.
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py index 77a44f5..f4f4400 100644 --- a/Lib/xml/dom/minidom.py +++ b/Lib/xml/dom/minidom.py
@@ -43,7 +43,7 @@ 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):