This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Manual typesets bit-shift operators as guillemet
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, vibber
Priority: high Keywords:

Created on 2004-11-07 04:46 by vibber, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg23035 - (view) Author: Brion Vibber (vibber) Date: 2004-11-07 04:46
The online reference manual misencodes the << and >> binary 
shift operators as the left and right guillemet (French quote) 
characters: « and ».

For instance here:
http://docs.python.org/ref/shifting.html
http://docs.python.org/ref/augassign.html
etc

These look a bit odd onscreen, and will naturally fail should 
someone try cut and paste. Even if you set the file encoding, 
Python will *not* accept the expression x « 2 as suggested by the 
documentation. :)

Release 2.3.4, documentation updated on May 20, 2004.
msg23036 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2004-11-11 06:18
Logged In: YES 
user_id=3066

Fixed by adding empty groups to the LaTeX source.  Hackish,
but it works.

Doc/lib/libstdtypes.tex  1.169, 1.129.8.12
Doc/ref/ref5.tex  1.86, 1.76.10.5
Doc/ref/ref6.tex  1.73, 1.68.8.3
Doc/whatsnew/whatsnew20.tex  1.52, 1.48.8.2
Doc/whatsnew/whatsnew23.tex  1.166, 1.159.4.4
History
Date User Action Args
2022-04-11 14:56:07adminsetgithub: 41132
2004-11-07 04:46:35vibbercreate