Skip to content

Commit

Permalink
Silence a spurious pylint warning about assignment to shape lists
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Jun 26, 2022
1 parent ebd67dc commit 94532aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyopencl/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -2660,6 +2660,7 @@ def concatenate(arrays, axis=0, queue=None, allocator=None):
raise ValueError("%d'th array has residual not matching "
"other arrays" % i_ary)

# pylint: disable=unsupported-assignment-operation
shape[axis] += ary.shape[axis]

# }}}
Expand Down

0 comments on commit 94532aa

Please sign in to comment.