mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Use true booleans and PEP8 for argdefaults.
This commit is contained in:
parent
3d6575dfc8
commit
fe99105835
9 changed files with 21 additions and 21 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue