Skip to content

Commit 5995505

Browse files
committed
Reformat comment
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 621e900 commit 5995505

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/licensedcode/index.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ def __init__(self, rules=None, _ranked_tokens=global_tokens_by_ranks):
181181
# token id and the value the actual token string
182182
self.tokens_by_tid = []
183183

184-
# Note: all mappings of rid-> data are lists of data where the index
185-
# is the rule id.
184+
# Note: all the following are mappings-like (using lists) of
185+
# rid-> data are lists of data where the index is the rule id.
186186

187187
# rule objects proper
188188
self.rules_by_rid = []
@@ -201,6 +201,7 @@ def __init__(self, rules=None, _ranked_tokens=global_tokens_by_ranks):
201201
# (low_tids_mset, high_tids_mset)
202202
self.tids_msets_by_rid = []
203203

204+
# ---
204205
# mapping of hash -> single rid : duplicated rules are not allowed
205206
self.rid_by_hash = {}
206207

0 commit comments

Comments
 (0)