54
54
2010/03/03 - Added [unreachable] prefix used in maintainers.txt.
55
55
2010/05/28 - BOM skipped; minor code cleaning.
56
56
2010/05/31 - e-mail mangled already in maintainers.txt
57
- 2010/08/20 - maintainers.txt to UTF-8, related processin of unicode strings
57
+ 2010/08/20 - maintainers.txt to UTF-8, related processing of unicode strings
58
58
- [any mark] introduced instead of [unreachable] only
59
- - marks hihglighted in HTML
59
+ - marks highlighted in HTML
60
60
2010/08/30 - Highlighting in what will be the table in langhowto.html modified.
61
61
2010/09/27 - The underscore in \latexonly part of the generated language.doc
62
62
was prefixed by backslash (was LaTeX related error).
@@ -91,7 +91,7 @@ def xopen(fname, mode='r', encoding='utf-8-sig'):
91
91
92
92
93
93
def fill (s ):
94
- """Returns string formated to the wrapped paragraph multiline string.
94
+ """Returns string formatted to the wrapped paragraph multiline string.
95
95
96
96
Replaces whitespaces by one space and then uses he textwrap.fill()."""
97
97
@@ -159,7 +159,7 @@ def __tokenGenerator(self):
159
159
160
160
The tokens have the form (tokenId, tokenString, lineNo). The
161
161
last returned token has the form ('eof', None, None). When trying
162
- to access next token afer that, the exception would be raised."""
162
+ to access next token after that, the exception would be raised."""
163
163
164
164
# Set the dictionary for recognizing tokenId for keywords, separators
165
165
# and the similar categories. The key is the string to be recognized,
@@ -727,7 +727,7 @@ def __collectPublicMethodPrototypes(self, tokenIterator):
727
727
The dictionary is filled by items: uniPrototype -> prototype.
728
728
The method is expected to be called only for TranslatorXxxx classes,
729
729
i.e. for the classes that implement translation to some language.
730
- It assumes that the openning curly brace of the class was already
730
+ It assumes that the opening curly brace of the class was already
731
731
consumed. The source is consumed until the end of the class.
732
732
The caller should consume the source until the eof to cause closing
733
733
the source file."""
@@ -738,7 +738,7 @@ def __collectPublicMethodPrototypes(self, tokenIterator):
738
738
# The following finite automaton slightly differs from the one
739
739
# inside self.collectPureVirtualPrototypes(). It produces the
740
740
# dictionary item just after consuming the body of the method
741
- # (transition from from state 10 to state 2). It also does not allow
741
+ # (transition from state 10 to state 2). It also does not allow
742
742
# definitions of public pure virtual methods, except for
743
743
# TranslatorAdapterBase (states 8 and 9). Argument identifier inside
744
744
# method argument lists can be omitted or commented.
@@ -1234,7 +1234,7 @@ def __init__(self):
1234
1234
self .doc_path = os .path .join (self .doxy_path , 'doc' )
1235
1235
self .src_path = os .path .join (self .doxy_path , 'src' )
1236
1236
1237
- # Create the empty dictionary for Transl object identitied by the
1237
+ # Create the empty dictionary for Transl object identified by the
1238
1238
# class identifier of the translator.
1239
1239
self .__translDic = {}
1240
1240
@@ -1484,7 +1484,7 @@ def __checkForNotUsedTrMethods(self):
1484
1484
def __emails (self , classId ):
1485
1485
"""Returns the list of maintainer emails.
1486
1486
1487
- The method returns the list of e-mail adresses for the translator
1487
+ The method returns the list of e-mail addresses for the translator
1488
1488
class, but only the addresses that were not marked as [xxx]."""
1489
1489
lst = []
1490
1490
for m in self .__maintainersDic [classId ]:
@@ -1847,7 +1847,7 @@ def generateLanguageDoc(self):
1847
1847
for name , obj in self .langLst :
1848
1848
# Fill the table data elements for one row. The first element
1849
1849
# contains the readable name of the language. Only the oldest
1850
- # translator are colour marked in the language columnt . Less
1850
+ # translator are colour marked in the language column . Less
1851
1851
# "heavy" color is used (when compared with the Status column).
1852
1852
if obj .readableStatus .startswith ('1.4' ):
1853
1853
bkcolor = self .getBgcolorByReadableStatus ('1.4' )
@@ -1882,7 +1882,7 @@ def generateLanguageDoc(self):
1882
1882
lm .append (name )
1883
1883
mm = '<br/>' .join (lm )
1884
1884
1885
- # The marked adresses (they start with the mark '[unreachable]',
1885
+ # The marked addresses (they start with the mark '[unreachable]',
1886
1886
# '[resigned]', whatever '[xxx]') will not be displayed at all.
1887
1887
# Only the mark will be used instead.
1888
1888
rexMark = re .compile ('(?P<mark>\\ [.*?\\ ])' )
0 commit comments