Refs #27834 -- Restored "expression" in StrIndex's docs signature.

Documentation regression in 20dbf19fc5.
This commit is contained in:
Clifford Gama
2025-12-05 17:28:38 +02:00
committed by GitHub
parent 1dfd5aa2b5
commit 020e5799ad

View File

@@ -1783,10 +1783,10 @@ Usage example:
``StrIndex``
------------
.. class:: StrIndex(string, substring, **extra)
.. class:: StrIndex(expression, substring, **extra)
Returns a positive integer corresponding to the 1-indexed position of the first
occurrence of ``substring`` inside ``string``, or 0 if ``substring`` is not
occurrence of ``substring`` inside ``expression``, or 0 if ``substring`` is not
found.
Usage example: