Update instructions.append.md (#3947)

Instruction does not match the unit test. The exception message tested in the unit test is more precise. Hence, I've changed the instruction.
This commit is contained in:
Juergen H
2025-07-27 21:48:23 +02:00
committed by GitHub
parent eedf04a724
commit a51a10e66c

View File

@@ -10,7 +10,7 @@ To raise a `ValueError` with a message, write the message as an argument to the
```python
# span of numbers is longer than number series
raise ValueError("span must be smaller than string length")
raise ValueError("span must not exceed string length")
# span of number is negative
raise ValueError("span must not be negative")