A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-February/013296.html below:

[Python-Dev] test_inspect.py still fails under -O

[Python-Dev] test_inspect.py still fails under -O [Python-Dev] test_inspect.py still fails under -OFredrik Lundh fredrik@effbot.org
Wed, 28 Feb 2001 23:49:57 +0100
I wrote:
> +    lineno = frame.f_lineno
> +
> +    c = frame.f_code
> +    if not hasattr(c, 'co_lnotab'):
> +        return tb.tb_lineno

that "return" statement should be:

    return lineno

Cheers /F




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4