Skip to content

Commit dc1f903

Browse files
author
roman_yakovenko
committed
sphinx
1 parent e71d02a commit dc1f903

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

pygccxml/parser/directory_cache.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
# The initial version of the directory_cache_t class was written
77
# by Matthias Baas ([email protected]).
88

9-
"""Directory cache implementation.
9+
"""
10+
directory cache implementation.
1011
1112
This module contains the implementation of a cache that uses individual
12-
files stored in a dedicated cache directory to store the cached contents.
13-
The cache class is :class:`parser.directory_cache_t` which can be passed as the `cache`
13+
files, stored in a dedicated cache directory, to store the cached contents.
14+
15+
The :class:`parser.directory_cache_t` class instance could be passed as the `cache`
1416
argument of the :func:`parser.parse` function.
1517
"""
1618

@@ -19,9 +21,10 @@
1921
import declarations_cache
2022

2123
class index_entry_t:
22-
"""Entry of the index table in the directory cache index.
24+
"""
25+
Entry of the index table in the directory cache index.
2326
24-
Each cached header file (i.e. each *.cache file) has a corresponding
27+
Each cached header file (i.e. each .cache file) has a corresponding
2528
index_entry_t object. This object is used to determine whether the
2629
cache file with the declarations is still valid or not.
2730
@@ -48,9 +51,9 @@ class directory_cache_t ( declarations_cache.cache_base_t ):
4851
4952
The cache stores one index file called `index.dat` which is always
5053
read by the cache when the cache object is created. Each header file
51-
will have its corresponding *.cache file that stores the declarations
54+
will have its corresponding .cache file that stores the declarations
5255
found in the header file. The index file is used to determine whether
53-
a *.cache file is still valid or not (by checking if one of the dependent
56+
a .cache file is still valid or not (by checking if one of the dependent
5457
files (i.e. the header file itself and all included files) have been
5558
modified since the last run).
5659
"""

0 commit comments

Comments
 (0)