We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96e63aa commit f3fd627Copy full SHA for f3fd627
numpy/f2py/symbolic.py
@@ -482,7 +482,9 @@ def __getitem__(self, index):
482
index = index,
483
if len(index) > 1:
484
warnings.warn(
485
- f'C-index should be a single expression but got `{index}`')
+ f'C-index should be a single expression but got `{index}`',
486
+ category=warnings.SyntaxWarning,
487
+ stacklevel=1)
488
return Expr(Op.INDEXING, (self,) + index)
489
490
def substitute(self, symbols_map):
0 commit comments