Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
fe6e7e6b
Kaydet (Commit)
fe6e7e6b
authored
Eyl 20, 2012
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge the quotes/backslashes fixes with 3.2.
üst
a58d8b05
694f2331
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
windows.rst
Doc/faq/windows.rst
+5
-5
doctest.rst
Doc/library/doctest.rst
+1
-1
pyexpat.rst
Doc/library/pyexpat.rst
+1
-1
No files found.
Doc/faq/windows.rst
Dosyayı görüntüle @
fe6e7e6b
...
...
@@ -464,13 +464,13 @@ to console subprocesses which are designed to handle those signals. See
Why does os.path.isdir() fail on NT shared directories?
-------------------------------------------------------
The solution appears to be always append the "\\" on the end of shared
drives.
In order to work correctly, :func:`os.path.isdir` requires a ``"\\"`` at the
end of the shared drive::
>>> import os
>>> os.path.isdir(
'\\\\rorschach\\public')
>>> os.path.isdir('\\\\rorschach\\public')
0
>>> os.path.isdir(
'\\\\rorschach\\public\\')
>>> os.path.isdir('\\\\rorschach\\public\\')
1
It 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::
k:\media is a directory
k:\media\ is not a directory
The same rules apply if you substitute
"k:" with "\\conky\foo"
::
The same rules apply if you substitute
``"k:"`` with ``"\\conky\foo"``
::
\\conky\foo is not a directory
\\conky\foo\ is a directory
...
...
Doc/library/doctest.rst
Dosyayı görüntüle @
fe6e7e6b
...
...
@@ -338,7 +338,7 @@ The fine print:
Backslashes in a raw docstring: m\n
Otherwise, the backslash will be interpreted as part of the string. For example,
the
"\\"
above would be interpreted as a newline character. Alternatively, you
the
``\n``
above would be interpreted as a newline character. Alternatively, you
can double each backslash in the doctest version (and not use a raw string)::
>>> def f(x):
...
...
Doc/library/pyexpat.rst
Dosyayı görüntüle @
fe6e7e6b
...
...
@@ -402,7 +402,7 @@ otherwise stated.
.. method:: xmlparser.CommentHandler(data)
Called for comments. *data* is the text of the comment, excluding the leading
'``<!-``\ ``-``' and trailing '``-``\ ``->``'
.
``'<!-``\ ``-'`` and trailing ``'-``\ ``->'``
.
.. method:: xmlparser.StartCdataSectionHandler()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment