File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -464,13 +464,13 @@ to console subprocesses which are designed to handle those signals. See
464464Why does os.path.isdir() fail on NT shared directories?
465465-------------------------------------------------------
466466
467- The solution appears to be always append the "\\ " on the end of shared
468- drives.
467+ In order to work correctly, :func: ` os.path.isdir ` requires a `` "\\" `` at the
468+ end of the shared drive::
469469
470470 >>> import os
471- >>> os.path.isdir( ' \\\\ rorschach\\ public' )
471+ >>> os.path.isdir('\\\\rorschach\\public')
472472 0
473- >>> os.path.isdir( ' \\\\ rorschach\\ public\\ ' )
473+ >>> os.path.isdir('\\\\rorschach\\public\\')
474474 1
475475
476476It helps to think of share points as being like drive letters. Example::
@@ -480,7 +480,7 @@ It helps to think of share points as being like drive letters. Example::
480480 k:\media is a directory
481481 k:\media\ is not a directory
482482
483- The same rules apply if you substitute "k:" with "\\ conky\f oo"::
483+ The same rules apply if you substitute `` "k:" `` with `` "\\conky\foo" `` ::
484484
485485 \\conky\foo is not a directory
486486 \\conky\foo\ is a directory
Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ The fine print:
338338 Backslashes in a raw docstring: m\n
339339
340340 Otherwise, the backslash will be interpreted as part of the string. For example,
341- the " \\ " above would be interpreted as a newline character. Alternatively, you
341+ the `` \n `` above would be interpreted as a newline character. Alternatively, you
342342 can double each backslash in the doctest version (and not use a raw string)::
343343
344344 >>> def f(x):
Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ otherwise stated.
402402.. method :: xmlparser.CommentHandler(data)
403403
404404 Called for comments. *data * is the text of the comment, excluding the leading
405- '`` <!- ``\ ``- ``' and trailing '`` - ``\ ``-> ``' .
405+ `` ' <!- ``\ ``-' `` and trailing `` ' - ``\ ``->' `` .
406406
407407
408408.. method :: xmlparser.StartCdataSectionHandler()
You can’t perform that action at this time.
0 commit comments