| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ad1a25f commit 34fd4c2
26 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2021,7 +2021,7 @@ def _power_modulo(self, other, modulo, context=None): | |||
| 2021 | 2021 | if not other and not self: | |
| 2022 | 2022 | return context._raise_error(InvalidOperation, | |
| 2023 | 2023 | 'at least one of pow() 1st argument ' | |
| 2024 | - 'and 2nd argument must be nonzero ;' | ||
| 2024 | + 'and 2nd argument must be nonzero; ' | ||
| 2025 | 2025 | '0**0 is not defined') | |
| 2026 | 2026 | ||
| 2027 | 2027 | # compute sign of result | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -150,7 +150,7 @@ def submit(self, fn, *args, **kwargs): | |||
| 150 | 150 | if self._shutdown: | |
| 151 | 151 | raise RuntimeError('cannot schedule new futures after shutdown') | |
| 152 | 152 | if _shutdown: | |
| 153 | - raise RuntimeError('cannot schedule new futures after' | ||
| 153 | + raise RuntimeError('cannot schedule new futures after ' | ||
| 154 | 154 | 'interpreter shutdown') | |
| 155 | 155 | ||
| 156 | 156 | f = _base.Future() | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,7 +32,7 @@ class bdist_dumb(Command): | |||
| 32 | 32 | ('skip-build', None, | |
| 33 | 33 | "skip rebuilding everything (for testing/debugging)"), | |
| 34 | 34 | ('relative', None, | |
| 35 | - "build the archive using relative paths" | ||
| 35 | + "build the archive using relative paths " | ||
| 36 | 36 | "(default: false)"), | |
| 37 | 37 | ('owner=', 'u', | |
| 38 | 38 | "Owner name used when creating a tar file" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -98,14 +98,14 @@ class bdist_msi(Command): | |||
| 98 | 98 | ('no-target-compile', 'c', | |
| 99 | 99 | "do not compile .py to .pyc on the target system"), | |
| 100 | 100 | ('no-target-optimize', 'o', | |
| 101 | - "do not compile .py to .pyo (optimized)" | ||
| 101 | + "do not compile .py to .pyo (optimized) " | ||
| 102 | 102 | "on the target system"), | |
| 103 | 103 | ('dist-dir=', 'd', | |
| 104 | 104 | "directory to put final built distributions in"), | |
| 105 | 105 | ('skip-build', None, | |
| 106 | 106 | "skip rebuilding everything (for testing/debugging)"), | |
| 107 | 107 | ('install-script=', None, | |
| 108 | - "basename of installation script to be run after" | ||
| 108 | + "basename of installation script to be run after " | ||
| 109 | 109 | "installation or before deinstallation"), | |
| 110 | 110 | ('pre-install-script=', None, | |
| 111 | 111 | "Fully qualified filename of a script to be run before " | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -58,7 +58,7 @@ class bdist_rpm(Command): | |||
| 58 | 58 | "RPM \"vendor\" (eg. \"Joe Blow <joe@example.com>\") " | |
| 59 | 59 | "[default: maintainer or author from setup script]"), | |
| 60 | 60 | ('packager=', None, | |
| 61 | - "RPM packager (eg. \"Jane Doe <jane@example.net>\")" | ||
| 61 | + "RPM packager (eg. \"Jane Doe <jane@example.net>\") " | ||
| 62 | 62 | "[default: vendor]"), | |
| 63 | 63 | ('doc-files=', None, | |
| 64 | 64 | "list of documentation files (space or comma-separated)"), | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,7 +29,7 @@ class bdist_wininst(Command): | |||
| 29 | 29 | ('no-target-compile', 'c', | |
| 30 | 30 | "do not compile .py to .pyc on the target system"), | |
| 31 | 31 | ('no-target-optimize', 'o', | |
| 32 | - "do not compile .py to .pyo (optimized)" | ||
| 32 | + "do not compile .py to .pyo (optimized) " | ||
| 33 | 33 | "on the target system"), | |
| 34 | 34 | ('dist-dir=', 'd', | |
| 35 | 35 | "directory to put final built distributions in"), | |
@@ -40,7 +40,7 @@ class bdist_wininst(Command): | |||
| 40 | 40 | ('skip-build', None, | |
| 41 | 41 | "skip rebuilding everything (for testing/debugging)"), | |
| 42 | 42 | ('install-script=', None, | |
| 43 | - "basename of installation script to be run after" | ||
| 43 | + "basename of installation script to be run after " | ||
| 44 | 44 | "installation or before deinstallation"), | |
| 45 | 45 | ('pre-install-script=', None, | |
| 46 | 46 | "Fully qualified filename of a script to be run before " | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -365,7 +365,7 @@ def check_extensions_list(self, extensions): | |||
| 365 | 365 | ext_name, build_info = ext | |
| 366 | 366 | ||
| 367 | 367 | log.warn("old-style (ext_name, build_info) tuple found in " | |
| 368 | - "ext_modules for extension '%s'" | ||
| 368 | + "ext_modules for extension '%s' " | ||
| 369 | 369 | "-- please convert to Extension instance", ext_name) | |
| 370 | 370 | ||
| 371 | 371 | if not (isinstance(ext_name, str) and | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2209,8 +2209,8 @@ def get_section(value): | |||
| 2209 | 2209 | digits += value[0] | |
| 2210 | 2210 | value = value[1:] | |
| 2211 | 2211 | if digits[0] == '0' and digits != '0': | |
| 2212 | - section.defects.append(errors.InvalidHeaderError("section number" | ||
| 2213 | - "has an invalid leading 0")) | ||
| 2212 | + section.defects.append(errors.InvalidHeaderError( | ||
| 2213 | + "section number has an invalid leading 0")) | ||
| 2214 | 2214 | section.number = int(digits) | |
| 2215 | 2215 | section.append(ValueTerminal(digits, 'digits')) | |
| 2216 | 2216 | return section, value | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -224,7 +224,7 @@ def get_expression(self): | |||
| 224 | 224 | given index, which is empty if there is no real one. | |
| 225 | 225 | """ | |
| 226 | 226 | if not self.is_in_code(): | |
| 227 | - raise ValueError("get_expression should only be called" | ||
| 227 | + raise ValueError("get_expression should only be called " | ||
| 228 | 228 | "if index is inside a code.") | |
| 229 | 229 | ||
| 230 | 230 | rawtext = self.rawtext | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -117,7 +117,7 @@ def _wrapper(parent): # htest # | |||
| 117 | 117 | "font face of the text in the area below it.\nIn the " | |
| 118 | 118 | "'Highlighting' tab, try different color schemes. Clicking " | |
| 119 | 119 | "items in the sample program should update the choices above it." | |
| 120 | - "\nIn the 'Keys', 'General' and 'Extensions' tabs, test settings" | ||
| 120 | + "\nIn the 'Keys', 'General' and 'Extensions' tabs, test settings " | ||
| 121 | 121 | "of interest." | |
| 122 | 122 | "\n[Ok] to close the dialog.[Apply] to apply the settings and " | |
| 123 | 123 | "and [Cancel] to revert all changes.\nRe-run the test to ensure " | |
@@ -152,7 +152,7 @@ def _wrapper(parent): # htest # | |||
| 152 | 152 | 'msg': "Test for different key modifier sequences.\n" | |
| 153 | 153 | "<nothing> is invalid.\n" | |
| 154 | 154 | "No modifier key is invalid.\n" | |
| 155 | - "Shift key with [a-z],[0-9], function key, move key, tab, space" | ||
| 155 | + "Shift key with [a-z],[0-9], function key, move key, tab, space " | ||
| 156 | 156 | "is invalid.\nNo validity checking if advanced key binding " | |
| 157 | 157 | "entry is used." | |
| 158 | 158 | } | |
@@ -234,7 +234,7 @@ def _wrapper(parent): # htest # | |||
| 234 | 234 | 'file': 'percolator', | |
| 235 | 235 | 'kwds': {}, | |
| 236 | 236 | 'msg': "There are two tracers which can be toggled using a checkbox.\n" | |
| 237 | - "Toggling a tracer 'on' by checking it should print tracer" | ||
| 237 | + "Toggling a tracer 'on' by checking it should print tracer " | ||
| 238 | 238 | "output to the console or to the IDLE shell.\n" | |
| 239 | 239 | "If both the tracers are 'on', the output from the tracer which " | |
| 240 | 240 | "was switched 'on' later, should be printed first\n" | |
@@ -335,7 +335,7 @@ def _wrapper(parent): # htest # | |||
| 335 | 335 | _widget_redirector_spec = { | |
| 336 | 336 | 'file': 'redirector', | |
| 337 | 337 | 'kwds': {}, | |
| 338 | - 'msg': "Every text insert should be printed to the console." | ||
| 338 | + 'msg': "Every text insert should be printed to the console " | ||
| 339 | 339 | "or the IDLE shell." | |
| 340 | 340 | } | |
| 341 | 341 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments