Staging
v0.5.1
https://github.com/python/cpython
Revision 1028ca4f04c14cf40a8f3e7951623a96ec0143c2 authored by Miss Islington (bot) on 10 March 2018, 15:10:45 UTC, committed by Nick Coghlan on 10 March 2018, 15:10:45 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 19b42fe
Raw File
Tip revision: 1028ca4f04c14cf40a8f3e7951623a96ec0143c2 authored by Miss Islington (bot) on 10 March 2018, 15:10:45 UTC
bpo-26701: Add documentation for __trunc__ (GH-6050)
Tip revision: 1028ca4
.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

# Special files in third party code
Modules/zlib/zlib.map -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