Skip to content

Commit 0ed1876

Browse files
author
roman_yakovenko
committed
sphinx
1 parent 8f961e7 commit 0ed1876

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

pygccxml/declarations/type_traits.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ def remove_const(type):
254254
return nake_type.base
255255

256256
def remove_declarated( type_ ):
257-
"""removes type-declaration class-binder :class:`declarated_t` from the type_
257+
"""removes type-declaration class-binder :class:`declarated_t` from the `type_`
258258
259-
If type_ is not :class:`declarated_t`, it will be returned as is
259+
If `type_` is not :class:`declarated_t`, it will be returned as is
260260
"""
261261
type_ = remove_alias( type_ )
262262
if isinstance( type_, cpptypes.declarated_t ):
@@ -426,7 +426,7 @@ def has_any_non_copyconstructor( type):
426426
return decls
427427

428428
def has_public_binary_operator( type_, operator_symbol ):
429-
"""returns True, if type_ has public binary operator, otherwise False"""
429+
"""returns True, if `type_` has public binary operator, otherwise False"""
430430
not_artificial = lambda decl: not decl.is_artificial
431431
type_ = remove_alias( type_ )
432432
type_ = remove_cv( type_ )

pygccxml/parser/directory_cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def release_filename(self, id_):
460460
del self.__id_lut[entry.filename]
461461

462462
def is_file_modified(self, id_, signature):
463-
"""Check if the file referred to by id_ has been modified.
463+
"""Check if the file referred to by `id_` has been modified.
464464
"""
465465
entry = self.__entries.get(id_)
466466
if entry==None:
@@ -479,7 +479,7 @@ def is_file_modified(self, id_, signature):
479479
return filesig!=signature
480480

481481
def update_id_counter(self):
482-
"""Update the id_ counter so that it doesn't grow forever.
482+
"""Update the `id_` counter so that it doesn't grow forever.
483483
"""
484484
if len(self.__entries)==0:
485485
self.__next_id = 1

pygccxml/parser/source_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class source_reader_t:
5757
to two classes:
5858
5959
1. `scanner_t` - this class scans the "XML" file, generated by GCC-XML and
60-
creates `pygccxml`_ declarations and types classes. After the XML file has
60+
creates :mod:`pygccxml` declarations and types classes. After the XML file has
6161
been processed declarations and type class instances keeps references to
6262
each other using GCC-XML generated id's.
6363

0 commit comments

Comments
 (0)