| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -66,7 +66,7 @@ | |||
| 66 | 66 | * Therefore surpress the toolbox-glue in 64-bit mode. | |
| 67 | 67 | */ | |
| 68 | 68 | ||
| 69 | - /* In 64-bit mode setpgrp always has no argments, in 32-bit | ||
| 69 | + /* In 64-bit mode setpgrp always has no arguments, in 32-bit | ||
| 70 | 70 | * mode that depends on the compilation environment | |
| 71 | 71 | */ | |
| 72 | 72 | # undef SETPGRP_HAVE_ARG | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -157,7 +157,7 @@ def _find_appropriate_compiler(_config_vars): | |||
| 157 | 157 | # gcc-4.2 is either not present, or a copy of 'llvm-gcc' that | |
| 158 | 158 | # miscompiles Python. | |
| 159 | 159 | ||
| 160 | - # skip checks if the compiler was overriden with a CC env variable | ||
| 160 | + # skip checks if the compiler was overridden with a CC env variable | ||
| 161 | 161 | if 'CC' in os.environ: | |
| 162 | 162 | return _config_vars | |
| 163 | 163 | ||
@@ -193,7 +193,7 @@ def _find_appropriate_compiler(_config_vars): | |||
| 193 | 193 | if cc != oldcc: | |
| 194 | 194 | # Found a replacement compiler. | |
| 195 | 195 | # Modify config vars using new compiler, if not already explicitly | |
| 196 | - # overriden by an env variable, preserving additional arguments. | ||
| 196 | + # overridden by an env variable, preserving additional arguments. | ||
| 197 | 197 | for cv in _COMPILER_CONFIG_VARS: | |
| 198 | 198 | if cv in _config_vars and cv not in os.environ: | |
| 199 | 199 | cv_split = _config_vars[cv].split() | |
@@ -207,7 +207,7 @@ def _remove_universal_flags(_config_vars): | |||
| 207 | 207 | """Remove all universal build arguments from config vars""" | |
| 208 | 208 | ||
| 209 | 209 | for cv in _UNIVERSAL_CONFIG_VARS: | |
| 210 | - # Do not alter a config var explicitly overriden by env var | ||
| 210 | + # Do not alter a config var explicitly overridden by env var | ||
| 211 | 211 | if cv in _config_vars and cv not in os.environ: | |
| 212 | 212 | flags = _config_vars[cv] | |
| 213 | 213 | flags = re.sub('-arch\s+\w+\s', ' ', flags, re.ASCII) | |
@@ -228,7 +228,7 @@ def _remove_unsupported_archs(_config_vars): | |||
| 228 | 228 | # build extensions on OSX 10.7 and later with the prebuilt | |
| 229 | 229 | # 32-bit installer on the python.org website. | |
| 230 | 230 | ||
| 231 | - # skip checks if the compiler was overriden with a CC env variable | ||
| 231 | + # skip checks if the compiler was overridden with a CC env variable | ||
| 232 | 232 | if 'CC' in os.environ: | |
| 233 | 233 | return _config_vars | |
| 234 | 234 | ||
@@ -244,7 +244,7 @@ def _remove_unsupported_archs(_config_vars): | |||
| 244 | 244 | # across Xcode and compiler versions, there is no reliable way | |
| 245 | 245 | # to be sure why it failed. Assume here it was due to lack of | |
| 246 | 246 | # PPC support and remove the related '-arch' flags from each | |
| 247 | - # config variables not explicitly overriden by an environment | ||
| 247 | + # config variables not explicitly overridden by an environment | ||
| 248 | 248 | # variable. If the error was for some other reason, we hope the | |
| 249 | 249 | # failure will show up again when trying to compile an extension | |
| 250 | 250 | # module. | |
@@ -292,7 +292,7 @@ def _check_for_unavailable_sdk(_config_vars): | |||
| 292 | 292 | sdk = m.group(1) | |
| 293 | 293 | if not os.path.exists(sdk): | |
| 294 | 294 | for cv in _UNIVERSAL_CONFIG_VARS: | |
| 295 | - # Do not alter a config var explicitly overriden by env var | ||
| 295 | + # Do not alter a config var explicitly overridden by env var | ||
| 296 | 296 | if cv in _config_vars and cv not in os.environ: | |
| 297 | 297 | flags = _config_vars[cv] | |
| 298 | 298 | flags = re.sub(r'-isysroot\s+\S+(?:\s|$)', ' ', flags) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1102,7 +1102,7 @@ def __neg__(self, context=None): | |||
| 1102 | 1102 | def __pos__(self, context=None): | |
| 1103 | 1103 | """Returns a copy, unless it is a sNaN. | |
| 1104 | 1104 | ||
| 1105 | - Rounds the number (if more then precision digits) | ||
| 1105 | + Rounds the number (if more than precision digits) | ||
| 1106 | 1106 | """ | |
| 1107 | 1107 | if self._is_special: | |
| 1108 | 1108 | ans = self._check_nans(context=context) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1043,7 +1043,7 @@ def _read_unlocked(self, n=None): | |||
| 1043 | 1043 | break | |
| 1044 | 1044 | avail += len(chunk) | |
| 1045 | 1045 | chunks.append(chunk) | |
| 1046 | - # n is more then avail only when an EOF occurred or when | ||
| 1046 | + # n is more than avail only when an EOF occurred or when | ||
| 1047 | 1047 | # read() would have blocked. | |
| 1048 | 1048 | n = min(n, avail) | |
| 1049 | 1049 | out = b"".join(chunks) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -279,7 +279,7 @@ def test_get_source_files(self): | |||
| 279 | 279 | ||
| 280 | 280 | def test_compiler_option(self): | |
| 281 | 281 | # cmd.compiler is an option and | |
| 282 | - # should not be overriden by a compiler instance | ||
| 282 | + # should not be overridden by a compiler instance | ||
| 283 | 283 | # when the command is run | |
| 284 | 284 | dist = Distribution() | |
| 285 | 285 | cmd = self.build_ext(dist) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | """AutoComplete.py - An IDLE extension for automatically completing names. | |
| 2 | 2 | ||
| 3 | - This extension can complete either attribute names of file names. It can pop | ||
| 3 | + This extension can complete either attribute names or file names. It can pop | ||
| 4 | 4 | a window with all available names, for the user to select from. | |
| 5 | 5 | """ | |
| 6 | 6 | import os | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -111,7 +111,7 @@ def __del__(self): | |||
| 111 | 111 | raise | |
| 112 | 112 | ||
| 113 | 113 | # An int in range(1 << len(_modifiers)) represents a combination of modifiers | |
| 114 | - # (if the least significent bit is on, _modifiers[0] is on, and so on). | ||
| 114 | + # (if the least significant bit is on, _modifiers[0] is on, and so on). | ||
| 115 | 115 | # _state_subsets gives for each combination of modifiers, or *state*, | |
| 116 | 116 | # a list of the states which are a subset of it. This list is ordered by the | |
| 117 | 117 | # number of modifiers is the state - the most specific state comes first. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - """RPC Implemention, originally written for the Python Idle IDE | ||
| 1 | + """RPC Implementation, originally written for the Python Idle IDE | ||
| 2 | 2 | ||
| 3 | 3 | For security reasons, GvR requested that Idle's Python execution server process | |
| 4 | 4 | connect to the Idle process, which listens for the connection. Since Idle has | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -674,7 +674,7 @@ def _format_parsed_parts(cls, drv, root, parts): | |||
| 674 | 674 | return cls._flavour.join(parts) | |
| 675 | 675 | ||
| 676 | 676 | def _init(self): | |
| 677 | - # Overriden in concrete Path | ||
| 677 | + # Overridden in concrete Path | ||
| 678 | 678 | pass | |
| 679 | 679 | ||
| 680 | 680 | def _make_child(self, args): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -52,7 +52,7 @@ | |||
| 52 | 52 | directory, it is read in and executed as if it had been typed at the | |
| 53 | 53 | debugger prompt. This is particularly useful for aliases. If both | |
| 54 | 54 | files exist, the one in the home directory is read first and aliases | |
| 55 | - defined there can be overriden by the local file. | ||
| 55 | + defined there can be overridden by the local file. | ||
| 56 | 56 | ||
| 57 | 57 | Aside from aliases, the debugger is not directly programmable; but it | |
| 58 | 58 | is implemented as a class from which you can derive your own debugger | |
| Back | FazBrowse Home | New Git URL |
0 commit comments