◐ Shell
clean mode source ↗

Message 287287 - Python tracker

Support adding tests. Tests should cover all cases: module, class, function, coroutine and check also the first line number.

What is the value of co_firstlineno if the function doesn't have any statements?

    def f():
        '''docstring'''