f82ba26ddda1bf5ccffa2f40707c673f2ee1892f,bokeh/plotting/helpers.py,,_get_argspecs,#Any#,432

Before Change



        // running python with -OO will discard docstrings -> __doc__ is None
        if prop.__doc__:
            spec["desc"] = " ".join(x.strip() for x in prop.__doc__.strip().split("\n\n")[0].split("\n"))
        else:
            spec["desc"] = ""
        spec["default"] = prop.class_default(glyphclass)

After Change



        // running python with -OO will discard docstrings -> __doc__ is None
        if descriptor.__doc__:
            spec["desc"] = "\n        ".join(textwrap.dedent(descriptor.__doc__).split("\n"))
        else:
            spec["desc"] = ""
        spec["default"] = descriptor.class_default(glyphclass)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: bokeh/bokeh
Commit Name: f82ba26ddda1bf5ccffa2f40707c673f2ee1892f
Time: 2017-06-20
Author: bryanv@continuum.io
File Name: bokeh/plotting/helpers.py
Class Name:
Method Name: _get_argspecs


Project Name: pantsbuild/pants
Commit Name: e7b9ce76c065eb9ba46791fbef67a4961150dd2c
Time: 2015-05-18
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/java/distribution/test_distribution.py
Class Name: MockDistributionTest
Method Name: exe


Project Name: bokeh/bokeh
Commit Name: f82ba26ddda1bf5ccffa2f40707c673f2ee1892f
Time: 2017-06-20
Author: bryanv@continuum.io
File Name: bokeh/plotting/helpers.py
Class Name:
Method Name: _add_sigfunc_info