Staging
v0.5.1
https://github.com/python/cpython
Revision 1a05e87ec75436d818f05a5dabcecaea67334cbd authored by Nick Coghlan on 19 August 2017, 06:59:38 UTC, committed by GitHub on 19 August 2017, 06:59:38 UTC
bpo-30721 added a "Did you mean ...?" suggestion to rshift
TypeError messages that triggers when the LHS is a Python
C function called "print".

Since this custom error message is expected to be triggered
primarily by attempts to use Python 2 print redirection syntax
in Python 3, and is incredibly unlikely to be encountered
otherwise, it is also being backported to the next 3.6
maintenance release.

Initial patch by Sanyam Khurana.
1 parent b50e768
History
Tip revision: 1a05e87ec75436d818f05a5dabcecaea67334cbd authored by Nick Coghlan on 19 August 2017, 06:59:38 UTC
[3.6] bpo-31232: Backport custom print rshift message (GH-3155)
Tip revision: 1a05e87

README

back to top