mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Whitespace normalization.
This commit is contained in:
parent
0c9886d589
commit
495ad3c8cc
14 changed files with 695 additions and 695 deletions
|
|
@ -137,7 +137,7 @@ class SGMLParser:
|
|||
k = self.parse_pi(i)
|
||||
if k < 0: break
|
||||
i = i+k
|
||||
continue
|
||||
continue
|
||||
match = special.match(rawdata, i)
|
||||
if match:
|
||||
if self.literal:
|
||||
|
|
@ -211,7 +211,7 @@ class SGMLParser:
|
|||
__starttag_text = None
|
||||
def get_starttag_text(self):
|
||||
return self.__starttag_text
|
||||
|
||||
|
||||
# Internal -- handle starttag, return length or -1 if not terminated
|
||||
def parse_starttag(self, i):
|
||||
self.__starttag_text = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue