@@ -242,12 +242,13 @@ Miscellaneous options
242
242
243
243
.. option :: -b
244
244
245
- Issue a warning when comparing :class: `bytes ` or :class: `bytearray ` with
246
- :class: `str ` or :class: `bytes ` with :class: `int `. Issue an error when the
247
- option is given twice (:option: `!-bb `).
245
+ Issue a warning when converting :class: `bytes ` or :class: `bytearray ` to
246
+ :class: `str ` without specifying encoding or comparing :class: `!bytes ` or
247
+ :class: `!bytearray ` with :class: `!str ` or :class: `!bytes ` with :class: `int `.
248
+ Issue an error when the option is given twice (:option: `!-bb `).
248
249
249
250
.. versionchanged :: 3.5
250
- Affects comparisons of :class: `bytes ` with :class: `int `.
251
+ Affects also comparisons of :class: `bytes ` with :class: `int `.
251
252
252
253
.. option :: -B
253
254
@@ -386,6 +387,8 @@ Miscellaneous options
386
387
Don't add the :data: `user site-packages directory <site.USER_SITE> ` to
387
388
:data: `sys.path `.
388
389
390
+ See also :envvar: `PYTHONNOUSERSITE `.
391
+
389
392
.. seealso ::
390
393
391
394
:pep: `370 ` -- Per user site-packages directory
@@ -517,7 +520,7 @@ Miscellaneous options
517
520
asyncio' ``. See also :envvar: `PYTHONPROFILEIMPORTTIME `.
518
521
* ``-X dev ``: enable :ref: `Python Development Mode <devmode >`, introducing
519
522
additional runtime checks that are too expensive to be enabled by
520
- default.
523
+ default. See also :envvar: ` PYTHONDEVMODE `.
521
524
* ``-X utf8 `` enables the :ref: `Python UTF-8 Mode <utf8-mode >`.
522
525
``-X utf8=0 `` explicitly disables :ref: `Python UTF-8 Mode <utf8-mode >`
523
526
(even when it would otherwise activate automatically).
0 commit comments