089e74514870c8e392d4a46669a5423e093cfb0b,setup.py,,,#,6
Before Change
import pypandoc
long_description = pypandoc.convert("README.md", "rst")
except(IOError, ImportError):
long_description = open("README.md").read()
if sys.version_info[0] == 2:
After Change
import pypandoc
long_description = pypandoc.convert("README.md", "rst")
except(IOError, ImportError):
with open("README.md", "rb") as f:
long_description = f.read().decode("UTF-8")
if sys.version_info[0] == 2:
// Mypy doesn"t work with Python 2
mypy = []
elif sys.version_info[0] == 3:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: onnx/onnx-coreml
Commit Name: 089e74514870c8e392d4a46669a5423e093cfb0b
Time: 2018-12-26
Author: dawars00@gmail.com
File Name: setup.py
Class Name:
Method Name:
Project Name: michaelhush/M-LOOP
Commit Name: 4684492f699aa87cdf3c9c83ddc584aa819ac6ea
Time: 2021-01-13
Author: harry.slatyer@gmail.com
File Name: setup.py
Class Name:
Method Name: main
Project Name: mne-tools/mne-python
Commit Name: 52d2c268171070643e6946497ab192dee9b68b69
Time: 2019-01-18
Author: larson.eric.d@gmail.com
File Name: mne/report.py
Class Name: Report
Method Name: _init_render