f82ba26ddda1bf5ccffa2f40707c673f2ee1892f,bokeh/plotting/helpers.py,,_add_sigfunc_info,#Any#Any#Any#Any#,507

Before Change


        prop = getattr(glyphclass, kw)
        if prop.__doc__:
            typ = prop.__class__.__name__
            desc = " ".join(x.strip() for x in prop.__doc__.strip().split("\n\n")[0].split("\n"))
        else:
            typ = str(prop)
            desc = ""
        kwlines.append(_arg_template % (kw, typ, desc, prop.class_default(glyphclass)))

After Change


        descriptor = getattr(glyphclass, kw)
        typ = descriptor.property._sphinx_type()
        if descriptor.__doc__:
            desc = "\n        ".join(textwrap.dedent(descriptor.__doc__).split("\n"))
        else:
            desc = ""
        kwlines.append(_arg_template % (kw, typ, desc, descriptor.class_default(glyphclass)))
    extra_kws = getattr(glyphclass, "_extra_kws", {})
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

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: _add_sigfunc_info


Project Name: sahana/eden
Commit Name: 3cf4926ff1ffca2806e596f451acb08851f106b9
Time: 2020-09-14
Author: dominic@nursix.org
File Name: modules/s3/s3validators.py
Class Name: IS_INT_AMOUNT
Method Name: widget


Project Name: sahana/eden
Commit Name: 3cf4926ff1ffca2806e596f451acb08851f106b9
Time: 2020-09-14
Author: dominic@nursix.org
File Name: modules/s3/s3validators.py
Class Name: IS_FLOAT_AMOUNT
Method Name: widget