c06175c0611f2c6cb44cc6751309306a943abc8c,skbio/tree/_tree.py,TreeNode,__str__,#TreeNode#,133

Before Change


        .. shownumpydoc
        

        return self.to_newick(with_distances=True)

    def __iter__(self):
        rNode iter iterates over the `children`.
        return iter(self.children)

After Change


        .. shownumpydoc
        

        fh = StringIO()
        self.write(fh)
        string = fh.getvalue()
        fh.close()
        return string

    def __iter__(self):
        rNode iter iterates over the `children`.
        return iter(self.children)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: biocore/scikit-bio
Commit Name: c06175c0611f2c6cb44cc6751309306a943abc8c
Time: 2014-09-09
Author: ebolyen@gmail.com
File Name: skbio/tree/_tree.py
Class Name: TreeNode
Method Name: __str__


Project Name: studioml/studio
Commit Name: 514e97adf46aa0cad330d44ae820a793c6a1e308
Time: 2017-06-06
Author: peter.zhokhov@sentient.ai
File Name: studio/model.py
Class Name:
Method Name: _remove_backspaces


Project Name: probcomp/bayeslite
Commit Name: 47fadc359c7b6fc44475e89a3fdcfe9362e02558
Time: 2017-02-04
Author: fsaad@mit.edu
File Name: src/bql.py
Class Name:
Method Name: execute_phrase


Project Name: GoogleCloudPlatform/professional-services
Commit Name: 1c9f9302d3a556d1dcdc118fb3a58c6b007c717d
Time: 2018-07-13
Author: danielrdeleo@gmail.com
File Name: data-analytics/cloud-composer-examples/composer_http_post_example/spark_avg_speed.py
Class Name: AverageSpeedEnhancer
Method Name: dict_to_csv


Project Name: autorope/donkeycar
Commit Name: b369d824128b4511ee99bc29ac586c862a6247c8
Time: 2016-12-12
Author: wroscoe@gmail.com
File Name: camera.py
Class Name: Camera
Method Name: capture


Project Name: pandas-dev/pandas
Commit Name: ac7ca2390d88c256f955f8ab55103a66300ccee6
Time: 2020-10-21
Author: 48889395+arw2019@users.noreply.github.com
File Name: pandas/io/parquet.py
Class Name:
Method Name: to_parquet