Trim trailing whitespace *.py files

This commit is contained in:
Metallicow
2018-01-16 08:47:07 -06:00
parent 5f1ee01014
commit c76384d458
26 changed files with 94 additions and 94 deletions

View File

@@ -449,7 +449,7 @@ def makeModuleIndex(sphinxDir, file):
lower_to_name = {}
for name in names:
lower_to_name[name.lower()] = name
text = ''
if module:
text += '\n\n.. module:: %s\n\n' % module
@@ -462,7 +462,7 @@ def makeModuleIndex(sphinxDir, file):
lower_names = list(lower_to_name.keys())
lower_names.sort()
for lower in lower_names:
cls = lower_to_name[lower]
out = classes[cls]
@@ -758,7 +758,7 @@ def changeWelcomeText(text, options):
welcomeText = """
Welcome! This is the API documentation for the wxPython Phoenix
<b>pre-release snapshot</b> build <b>{version}</b>, last updated {today}
from git revision:
from git revision:
<a href="https://github.com/wxWidgets/Phoenix/commit/{revhash}">{revhash}</a>.
""".format(version=cfg.VERSION, today=TODAY, revhash=revhash)
text = text.replace('!WELCOME!', welcomeText)

View File

@@ -171,7 +171,7 @@ def replaceCppItems(line):
"""
items = RE_KEEP_SPACES.split(line)
# This should get rid of substitutions like "float buffered"...
no_conversion = ['click', 'buffer', 'precision']
newstr = []