Update docs/TRACEBACKS.md

Co-authored-by: Victor Goff <keeperotphones@gmail.com>
This commit is contained in:
Bob Hoeppner
2022-07-22 04:31:26 -05:00
parent 12c9ae0fd2
commit 33bc36e471

View File

@@ -166,8 +166,8 @@ If we start reading the Traceback at the bottom (as we should) we quickly see th
```python ```python
>>> import numbers >>> import numbers
... ...
... ...
... def int_division(dividend, divisor): ... def int_division(dividend, divisor):
... assert divisor != 0, "divisor must not be 0" ... assert divisor != 0, "divisor must not be 0"
... assert isinstance(divisor, numbers.Number), "divisor must be a number" ... assert isinstance(divisor, numbers.Number), "divisor must be a number"