Skip to content

Commit 3afc180

Browse files
author
roman_yakovenko
committed
sphinx
1 parent 8fcf44a commit 3afc180

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

pygccxml/binary_parsers/parsers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ def loaded_symbols( self ):
7070
def load_symbols( self ):
7171
"""loads public( shared ) symbols from the binary file.
7272
73-
This method should be overiden in the derived classes.
73+
This method should be overridden in the derived classes.
7474
"""
7575
raise NotImplementedError()
7676

7777
def merge( self, symbol):
7878
"""extracts and merges information from the symbol to the declarations tree.
7979
80-
This method should be overiden in the derived classes.
80+
This method should be overridden in the derived classes.
8181
"""
8282
raise NotImplementedError()
8383

@@ -132,7 +132,7 @@ def __init__( self, global_ns, map_file_path ):
132132
formated_mapping_parser_t.__init__( self, global_ns, map_file_path, 'msvc' )
133133

134134
def load_symbols( self ):
135-
"""returns dictionary { decorated symbol : orignal declaration name }"""
135+
"""returns dictionary { decorated symbol : original declaration name }"""
136136
f = file( self.binary_file )
137137
lines = []
138138
was_exports = False

pygccxml/binary_parsers/undname.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
unique names and map them to the declarations
99
1010
On Windows:
11-
ctypes package is used to call UnDecorateSymbolName function from dbghelp.dll
11+
ctypes package is used to call `UnDecorateSymbolName` function from `dbghelp.dll`
1212
1313
On Linux:
1414
"nm" utility is used.
@@ -21,7 +21,7 @@
2121
from pygccxml import declarations
2222

2323
class UNDECORATE_NAME_OPTIONS:
24-
"""defines few constants for UnDecorateSymbolName function"""
24+
"""defines few constants for `UnDecorateSymbolName` function"""
2525

2626
UNDNAME_COMPLETE = 0x0000 #Enables full undecoration.
2727
UNDNAME_NO_LEADING_UNDERSCORES = 0x0001 #Removes leading underscores from Microsoft extended keywords.
@@ -200,12 +200,12 @@ def format_var( self, decl, hint ):
200200

201201
def format_decl(self, decl, hint=None):
202202
"""returns string, which contains full function name formatted exactly as
203-
result of dbghelp.UnDecorateSymbolName, with UNDNAME_NO_MS_KEYWORDS | UNDNAME_NO_ACCESS_SPECIFIERS | UNDNAME_NO_ECSU
203+
result of `dbghelp.UnDecorateSymbolName`, with UNDNAME_NO_MS_KEYWORDS | UNDNAME_NO_ACCESS_SPECIFIERS | UNDNAME_NO_ECSU
204204
options.
205205
206-
Different compilers\utilities undecorate/demangle magled string ( unique names ) in a different way.
207-
hint argument will tell pygccxml how to format declarations, so it couls be mapped later to the blob.
208-
The valid options are" msvc, nm
206+
Different compilers\utilities undecorate/demangle mangled string ( unique names ) in a different way.
207+
`hint` argument will tell pygccxml how to format declarations, so they could be mapped later to the blobs.
208+
The valid options are: "msvc" and "nm".
209209
"""
210210
name = None
211211
if hint is None:

0 commit comments

Comments
 (0)