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

Before Change




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


setup(

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: analysiscenter/batchflow
Commit Name: 2ef72c22a4af0fc98c49a12a90201be68312a7e7
Time: 2017-11-17
Author: rhudor@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: tensorflow/datasets
Commit Name: 3404c3e64990dc7290a944313f3dccca54512710
Time: 2019-12-06
Author: c.taneja09@gmail.com
File Name: tensorflow_datasets/image/food101.py
Class Name: Food101
Method Name: _generate_examples