Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(34330)

Unified Diff: Doc/using/cmdline.rst

Issue 11681: -b option undocumented
Patch Set: Created 2 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Modules/main.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/using/cmdline.rst Tue Jan 10 11:27:07 2017 +0800
+++ b/Doc/using/cmdline.rst Wed Jan 11 13:01:44 2017 -0800
@@ -24,7 +24,7 @@
When invoking Python, you may specify any of these options::
- python [-BdEiOQsRStuUvVWxX3?] [-c command | -m module-name | script | - ] [args]
+ python [-bBdEiOQsRStuUvVWxX3?] [-c command | -m module-name | script | - ] [args]
The most common use case is, of course, a simple invocation of a script::
@@ -191,6 +191,14 @@
Miscellaneous options
~~~~~~~~~~~~~~~~~~~~~
+.. cmdoption:: -b
+
+ Issue a warning when comparing :class:`bytes` with :class:`bytearray`.
Nick Coghlan 2017/01/12 04:24:40 For 2.x, :class:`unicode` is the relevant cross-re
+ Issue an error when the option is given twice (:option:`!-bb`).
+
+ .. versionchanged:: 3.5
Nick Coghlan 2017/01/12 04:24:40 3.x versionchanged notes are left out of the 2.x d
+ Affects comparisons of :class:`bytes` with :class:`int`.
+
.. cmdoption:: -B
If given, Python won't try to write ``.pyc`` or ``.pyo`` files on the
« no previous file with comments | « no previous file | Modules/main.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+