# Intuitive Python: Wrong line number in traceback (page 19)

**URL:** <https://forum.devtalk.com/t/intuitive-python-wrong-line-number-in-traceback-page-19/8590>\
**Category:** PragProg Customers\
**Tags:** book-intuitive-python, errata\
**Created:** [7 April 2021 19:07 UTC](https://forum.devtalk.com/t/intuitive-python-wrong-line-number-in-traceback-page-19/8590 "2021-04-07T19:07:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JacobTomaw](https://forum.devtalk.com/user_avatar/forum.devtalk.com/jacobtomaw/32/957_2.png) [@JacobTomaw](https://forum.devtalk.com/u/JacobTomaw)\
**Post date:** [7 April 2021 19:07 UTC](https://forum.devtalk.com/t/intuitive-python-wrong-line-number-in-traceback-page-19/8590/1 "2021-04-07T19:07:23Z")

</div>

On page 19 the commented traceback in `variable_does_not_exist.py` on line 5 says “line 7” however line 7 is a comment and the error is on line 8.

---

<div class="post-metadata">

**Author:** ![davidmuller](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/d/a698b9/32.png) [@davidmuller](https://forum.devtalk.com/u/davidmuller)\
**Post date:** [8 April 2021 00:45 UTC](https://forum.devtalk.com/t/intuitive-python-wrong-line-number-in-traceback-page-19/8590/2 "2021-04-08T00:45:28Z")

</div>

Hi @JacobTomaw - thanks for reporting the incorrect line number in the inline comment.

I’ve fixed the error in the book’s source, and the next release should contain the revision.
