Staging
v0.5.1
https://github.com/python/cpython
Revision f34e0d60e27acff3f9604ec63e9de36878c3743a authored by Miss Islington (bot) on 10 March 2018, 15:10:32 UTC, committed by Nick Coghlan on 10 March 2018, 15:10:32 UTC
`int` fails back to `__trunc__` is `__int__` isn't defined, so cover
that in the docs.
(cherry picked from commit 308eab979d153f1ab934383dc08bc4546ced8b6c)

Co-authored-by: Eric Appelt <eric.appelt@gmail.com>
1 parent 6826589
Raw File
Tip revision: f34e0d60e27acff3f9604ec63e9de36878c3743a authored by Miss Islington (bot) on 10 March 2018, 15:10:32 UTC
bpo-26701: Add documentation for __trunc__ (GH-6049)
Tip revision: f34e0d6
.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