Staging
v0.5.1
https://github.com/python/cpython
Revision 43c0f1ac5ed8bc9c3bd048d2ce4de4c98a83de99 authored by Nitish Chandra on 28 January 2018, 10:56:02 UTC, committed by Nick Coghlan on 28 January 2018, 10:56:02 UTC
Better account for single-line compound statements and
semi-colon separated statements when suggesting
Py3 replacements for Py2 print statements.

Initial patch by Nitish Chandra.
1 parent 255f7a2
Raw File
Tip revision: 43c0f1ac5ed8bc9c3bd048d2ce4de4c98a83de99 authored by Nitish Chandra on 28 January 2018, 10:56:02 UTC
bpo-32685: Improve suggestion for print statement (GH-5375)
Tip revision: 43c0f1a
.gitattributes
# Binary data types
*.aif binary
*.aifc binary
*.aiff binary
*.au binary
*.bmp binary
*.exe binary
*.icns binary
*.gif binary
*.ico binary
*.jpg binary
*.pck binary
*.png binary
*.psd binary
*.tar binary
*.wav binary
*.whl binary
*.zip binary

# Specific binary files
Lib/test/sndhdrdata/sndhdr.* binary

# Text files that should not be subject to eol conversion
Lib/test/cjkencodings/* -text
Lib/test/decimaltestdata/*.decTest -text
Lib/test/test_email/data/*.txt -text
Lib/test/xmltestdata/* -text
Lib/test/coding20731.py -text
Lib/test/test_importlib/data01/* -text

# CRLF files
*.bat text eol=crlf
*.ps1 text eol=crlf
*.sln text eol=crlf
*.vcxproj* text eol=crlf
*.props text eol=crlf
*.proj text eol=crlf
PCbuild/readme.txt text eol=crlf
PC/readme.txt text eol=crlf
back to top