Skip to content

Commit

Permalink
Error in the doc string that this fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LonelyCat124 committed Jan 31, 2025
1 parent 04dddaf commit d0142ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/psyclone/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ def update_apply(cls, added_parameters):
last_instance = i
x = i+1
while x < len(doc_lines):
if not (":param" in line or ":type" in line or
":raise" in line):
if not (":param" in doc_lines[x] or ":type" in
doc_lines[x] or ":raise" in doc_lines[x]):
# This is part of the previous section.
last_instance = x
x = x + 1
Expand Down

0 comments on commit d0142ee

Please sign in to comment.