2984beef3784e514a7b8512ab0e658ad01e86564,setup.py,,,#,9
Before Change
readme = "README.rst"
if os.path.isfile(readme):
with open(readme) as f:
long_description = f.read()
else:
long_description = ""
After Change
cmd = "pandoc --from=markdown --to=rst " + readme
p = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True, executable="/bin/bash")
out, err = p.communicate()
if p.returncode != 0:
raise Exception("pandoc conversion failed: " + err)
long_description = out
else:
long_description = ""
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: riga/tfdeploy
Commit Name: 2984beef3784e514a7b8512ab0e658ad01e86564
Time: 2016-03-11
Author: marcelrieger@me.com
File Name: setup.py
Class Name:
Method Name:
Project Name: DistrictDataLabs/yellowbrick
Commit Name: aa1a4d85f30db26a7ef9d3c7dc7692bb00f7a5e5
Time: 2016-10-13
Author: benjamin@bengfort.com
File Name: examples/download.py
Class Name:
Method Name: download_data
Project Name: jadore801120/attention-is-all-you-need-pytorch
Commit Name: cb413bcf7b58223c6c4335f2eaaf3dc53c0b0c53
Time: 2019-12-05
Author: jadore801120@gmail.com
File Name: train.py
Class Name:
Method Name: main
Project Name: akkana/scripts
Commit Name: f02ab4559d2e4e17401b284f8c023e9693d06aa5
Time: 2018-06-24
Author: akkana@shallowsky.com
File Name: quickbrowse.py
Class Name: BrowserWindow
Method Name: set_up_listener