mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Whitespace normalization, via reindent.py.
This commit is contained in:
parent
e6ddc8b20b
commit
182b5aca27
453 changed files with 31318 additions and 31452 deletions
|
@ -16,7 +16,7 @@ class ContentGenerator(handler.ContentHandler):
|
|||
self._out = out
|
||||
|
||||
# ContentHandler methods
|
||||
|
||||
|
||||
def startDocument(self):
|
||||
self._out.write('<?xml version="1.0" encoding="iso-8859-1"?>\n')
|
||||
|
||||
|
@ -34,7 +34,7 @@ class ContentGenerator(handler.ContentHandler):
|
|||
|
||||
def ignorableWhitespace(self, content):
|
||||
self._out.write(content)
|
||||
|
||||
|
||||
def processingInstruction(self, target, data):
|
||||
self._out.write('<?%s %s?>' % (target, data))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue