03cd11e237bd631edb8d02fe5162dad4c3c8a38e,src/python/pants/option/optionable.py,Optionable,get_description,#Any#,130

Before Change


    @classmethod
    def get_description(cls):
        // First line of docstring.
        return "" if cls.__doc__ is None else cls.__doc__.partition("\n")[0].strip()

    @classmethod
    def register_options(cls, register):

After Change



    @classmethod
    def get_description(cls) -> Optional[str]:
        return get_first_line_of_docstring(cls)

    @classmethod
    def register_options(cls, register):
        Register options for this optionable.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 03cd11e237bd631edb8d02fe5162dad4c3c8a38e
Time: 2020-03-24
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/option/optionable.py
Class Name: Optionable
Method Name: get_description


Project Name: pantsbuild/pants
Commit Name: d31c194ae2401bd7188050a23e5d77b10a27febb
Time: 2019-04-20
Author: stuhood@twitter.com
File Name: src/python/pants/goal/goal.py
Class Name: _Goal
Method Name: description


Project Name: pantsbuild/pants
Commit Name: 67925858cd5cdb1ec770c4e9aeeff288c80456fc
Time: 2016-09-18
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/jvm/tasks/junit_run.py
Class Name: JUnitRun
Method Name: _collect_test_targets