292510232cd2f32d498c032488c38215af4a1601,setup.py,,readfile,#,40

Before Change



def readfile(fname):
    path = os.path.join(os.path.dirname(__file__), fname)
    return io.open(path, encoding="utf8").read()


setup(
    name="RMDL",

After Change



// Get the long description from the README file
def readfile(file):
    with open(path.join(here, file)) as f:
        long_description = f.read()
    return long_description


setup(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: kk7nc/RMDL
Commit Name: 292510232cd2f32d498c032488c38215af4a1601
Time: 2018-04-19
Author: kk7nc@virginia.edu
File Name: setup.py
Class Name:
Method Name: readfile


Project Name: SheffieldML/GPy
Commit Name: 0e1816da44c9769c9e1637b0c82660f010e0755a
Time: 2015-10-07
Author: ibinbei@gmail.com
File Name: setup.py
Class Name:
Method Name: read


Project Name: UFAL-DSG/tgen
Commit Name: e4eac21828a6b9037d314266908f4ba083b1940e
Time: 2015-12-15
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/parallel_percrank_train.py
Class Name:
Method Name: dump_ranker