Serhiy Storchaka added the comment:

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'''

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29463>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to