Export to GitHub

byteplay - issue #4

Function docstrings are not recognized properly


Posted on Oct 28, 2012 by Happy Rhino

Function docstrings are not recognized properly (module dosctrings work fine). In my special case (test case code below) docstring seems to be loaded with LOAD_CONST 1, however string in question is constant with index 0.

Test case code: def fn(): ''' im a ghosty docstring '''

Status: New

Labels:
Type-Defect Priority-Medium