| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
17 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -108,7 +108,7 @@ def getFullVersion(): | |||
| 108 | 108 | ### There are some issues with the SDK selection below here, | |
| 109 | 109 | ### The resulting binary doesn't work on all platforms that | |
| 110 | 110 | ### it should. Always default to the 10.4u SDK until that | |
| 111 | - ### isue is resolved. | ||
| 111 | + ### issue is resolved. | ||
| 112 | 112 | ### | |
| 113 | 113 | ##if int(os.uname()[2].split('.')[0]) == 8: | |
| 114 | 114 | ## # Explicitly use the 10.4u (universal) SDK when | |
@@ -1055,7 +1055,7 @@ def buildPython(): | |||
| 1055 | 1055 | os.chdir(curdir) | |
| 1056 | 1056 | ||
| 1057 | 1057 | if PYTHON_3: | |
| 1058 | - # Remove the 'Current' link, that way we don't accidently mess | ||
| 1058 | + # Remove the 'Current' link, that way we don't accidentally mess | ||
| 1059 | 1059 | # with an already installed version of python 2 | |
| 1060 | 1060 | os.unlink(os.path.join(rootDir, 'Library', 'Frameworks', | |
| 1061 | 1061 | 'Python.framework', 'Versions', 'Current')) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -507,7 +507,7 @@ nfd_nfkd(PyObject *self, PyObject *input, int k) | |||
| 507 | 507 | ||
| 508 | 508 | stackptr = 0; | |
| 509 | 509 | isize = PyUnicode_GET_LENGTH(input); | |
| 510 | - /* Overallocate atmost 10 characters. */ | ||
| 510 | + /* Overallocate at most 10 characters. */ | ||
| 511 | 511 | space = (isize > 10 ? 10 : isize) + isize; | |
| 512 | 512 | osize = space; | |
| 513 | 513 | output = PyMem_Malloc(space * sizeof(Py_UCS4)); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - #Run this file after automatic convertsion of the VisualStudio 2008 solution by VisualStudio 2010. | ||
| 1 | + #Run this file after automatic conversion of the VisualStudio 2008 solution by VisualStudio 2010. | ||
| 2 | 2 | #This can be done whenever the 2008 solution changes. | |
| 3 | 3 | #It will make the necessary cleanup and updates to the vcxproj files | |
| 4 | 4 | #the .props files need to be maintained by hand if the .vsprops files change | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1056,7 +1056,7 @@ def has_sequence(types, doing_specialization): | |||
| 1056 | 1056 | ||
| 1057 | 1057 | ||
| 1058 | 1058 | class StaticVisitor(PickleVisitor): | |
| 1059 | - CODE = '''Very simple, always emit this static code. Overide CODE''' | ||
| 1059 | + CODE = '''Very simple, always emit this static code. Override CODE''' | ||
| 1060 | 1060 | ||
| 1061 | 1061 | def visit(self, object): | |
| 1062 | 1062 | self.emit(self.CODE, 0, reflow=False) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | Under Windows it is unlikely the .obj files are of use, as special compiler options | |
| 4 | 4 | are needed (primarily to toggle the behavior of "public" symbols. | |
| 5 | 5 | ||
| 6 | - I dont consider it worth parsing the MSVC makefiles for compiler options. Even if | ||
| 6 | + I don't consider it worth parsing the MSVC makefiles for compiler options. Even if | ||
| 7 | 7 | we get it just right, a specific freeze application may have specific compiler | |
| 8 | 8 | options anyway (eg, to enable or disable specific functionality) | |
| 9 | 9 | ||
@@ -14,7 +14,7 @@ | |||
| 14 | 14 | your own). | |
| 15 | 15 | * This description can include: | |
| 16 | 16 | - The MSVC .dsp file for the extension. The .c source file names | |
| 17 | - are extraced from there. | ||
| 17 | + are extracted from there. | ||
| 18 | 18 | - Specific compiler/linker options | |
| 19 | 19 | - Flag to indicate if Unicode compilation is expected. | |
| 20 | 20 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -61,7 +61,7 @@ def makefreeze(base, dict, debug=0, entry_point=None, fail_import=()): | |||
| 61 | 61 | outfp.write('\t{"%s", M_%s, %d},\n' % (mod, mangled, size)) | |
| 62 | 62 | outfp.write('\n') | |
| 63 | 63 | # The following modules have a NULL code pointer, indicating | |
| 64 | - # that the prozen program should not search for them on the host | ||
| 64 | + # that the frozen program should not search for them on the host | ||
| 65 | 65 | # system. Importing them will *always* raise an ImportError. | |
| 66 | 66 | # The zero value size is never used. | |
| 67 | 67 | for mod in fail_import: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -632,7 +632,7 @@ class PyDictObjectPtr(PyObjectPtr): | |||
| 632 | 632 | def iteritems(self): | |
| 633 | 633 | ''' | |
| 634 | 634 | Yields a sequence of (PyObjectPtr key, PyObjectPtr value) pairs, | |
| 635 | - analagous to dict.iteritems() | ||
| 635 | + analogous to dict.iteritems() | ||
| 636 | 636 | ''' | |
| 637 | 637 | keys = self.field('ma_keys') | |
| 638 | 638 | values = self.field('ma_values') | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -154,7 +154,7 @@ def make(filename, outfile): | |||
| 154 | 154 | # This is a message with plural forms | |
| 155 | 155 | elif l.startswith('msgid_plural'): | |
| 156 | 156 | if section != ID: | |
| 157 | - print('msgid_plural not preceeded by msgid on %s:%d' % (infile, lno), | ||
| 157 | + print('msgid_plural not preceded by msgid on %s:%d' % (infile, lno), | ||
| 158 | 158 | file=sys.stderr) | |
| 159 | 159 | sys.exit(1) | |
| 160 | 160 | l = l[12:] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -305,7 +305,7 @@ def init_database(name, schema, | |||
| 305 | 305 | t.create(db) | |
| 306 | 306 | # Fill the validation table | |
| 307 | 307 | add_data(db, "_Validation", schema._Validation_records) | |
| 308 | - # Initialize the summary information, allowing atmost 20 properties | ||
| 308 | + # Initialize the summary information, allowing at most 20 properties | ||
| 309 | 309 | si = db.GetSummaryInformation(20) | |
| 310 | 310 | si.SetProperty(PID_TITLE, "Installation Database") | |
| 311 | 311 | si.SetProperty(PID_SUBJECT, ProductName) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -462,7 +462,7 @@ def parse(self): | |||
| 462 | 462 | handler = getattr(self, handlername) | |
| 463 | 463 | except AttributeError: | |
| 464 | 464 | if value == '': | |
| 465 | - # count the number of occurances | ||
| 465 | + # count the number of occurrences | ||
| 466 | 466 | if optionname in values: | |
| 467 | 467 | values[optionname] = values[optionname] + 1 | |
| 468 | 468 | else: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments