Serhiy Storchaka <[email protected]> added the comment:
Note, that getting the location of the dostring already was a pain since in
case of multiline string literals CPython saves the location of the last line,
and PyPy saves the location of the first line. Getting the location of the
specific fragment of the docstring is even larger pain as shown in following
examples:
def f()
"""
>>> f()
"""
def f()
"""\
>>> f()
"""
def f()
""\
""\
">>> f()"\
""\
""
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32911>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com