mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Whitespace normalization.
This commit is contained in:
parent
a888540593
commit
70c4378dbc
57 changed files with 2434 additions and 2440 deletions
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
class Delegator:
|
class Delegator:
|
||||||
|
|
||||||
# The cache is only used to be able to change delegates!
|
# The cache is only used to be able to change delegates!
|
||||||
|
|
|
@ -110,4 +110,3 @@ def load(dir):
|
||||||
os.path.join(homedir, ".idle")))
|
os.path.join(homedir, ".idle")))
|
||||||
|
|
||||||
idleconf = IdleConfParser()
|
idleconf = IdleConfParser()
|
||||||
|
|
||||||
|
|
|
@ -86,4 +86,3 @@ class History:
|
||||||
self.text.mark_set("insert", "end-1c")
|
self.text.mark_set("insert", "end-1c")
|
||||||
self.text.insert("insert", s)
|
self.text.insert("insert", s)
|
||||||
self.text.see("insert")
|
self.text.see("insert")
|
||||||
|
|
||||||
|
|
|
@ -189,4 +189,3 @@ class LastOpenBracketFinder:
|
||||||
icis=self.editwin.is_char_in_string):
|
icis=self.editwin.is_char_in_string):
|
||||||
return icis(startindex + "%dc" % offset)
|
return icis(startindex + "%dc" % offset)
|
||||||
return inner
|
return inner
|
||||||
|
|
||||||
|
|
|
@ -340,4 +340,3 @@ if __name__ == "__main__":
|
||||||
else:
|
else:
|
||||||
file = args[1]
|
file = args[1]
|
||||||
riExec(id, file)
|
riExec(id, file)
|
||||||
|
|
||||||
|
|
|
@ -62,4 +62,3 @@ if __name__ == '__main__':
|
||||||
text = infile.read()
|
text = infile.read()
|
||||||
defs = parse(text)
|
defs = parse(text)
|
||||||
writefile(outfile,defs)
|
writefile(outfile,defs)
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ spprog = re.compile('[\n@{}&<>]') # Special characters in
|
||||||
miprog = re.compile('^\* ([^:]*):(:|[ \t]*([^\t,\n.]+)([^ \t\n]*))[ \t\n]*')
|
miprog = re.compile('^\* ([^:]*):(:|[ \t]*([^\t,\n.]+)([^ \t\n]*))[ \t\n]*')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class HTMLNode:
|
class HTMLNode:
|
||||||
"""Some of the parser's functionality is separated into this class.
|
"""Some of the parser's functionality is separated into this class.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue