4f6ada2ad9c2f1340436cf9baf168dbe2d2801f9,lib/matplotlib/scale.py,,_get_scale_docs,#,704
Before Change
docs.append(" "%s"" % name)
docs.append("")
class_docs = cbook.dedent(scale_class.__init__.__doc__)
class_docs = "".join([" %s\n" %
x for x in class_docs.split("\n")])
docs.append(class_docs)
docs.append("")
return "\n".join(docs)
After Change
docs.extend([
f" {name!r}",
"",
textwrap.indent(inspect.getdoc(scale_class.__init__), " " * 8),
""
])
return "\n".join(docs)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: matplotlib/matplotlib
Commit Name: 4f6ada2ad9c2f1340436cf9baf168dbe2d2801f9
Time: 2019-02-02
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/scale.py
Class Name:
Method Name: _get_scale_docs
Project Name: deepmind/dm_control
Commit Name: ae2d628c1437e5cf47211b964fb4039ecb456d46
Time: 2018-10-15
Author: alimuldal@google.com
File Name: dm_control/autowrap/c_declarations.py
Class Name: Struct
Method Name: wrapper_class
Project Name: deepmind/dm_control
Commit Name: 5bfd14da25c8e55ed9294cdbcb7a3272ef9d0b54
Time: 2018-10-10
Author: alimuldal@google.com
File Name: dm_control/autowrap/c_declarations.py
Class Name: Function
Method Name: docstring