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
9636e98b
Kaydet (Commit)
9636e98b
authored
Mar 20, 2014
tarafından
Zachary Ware
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge several minor doc fixes from 3.4
üst
ad5e5ea9
2f31b4b5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
apiref.rst
Doc/distutils/apiref.rst
+1
-1
extending.rst
Doc/faq/extending.rst
+2
-2
enum.rst
Doc/library/enum.rst
+3
-3
os.rst
Doc/library/os.rst
+2
-2
os.py
Lib/os.py
+2
-2
No files found.
Doc/distutils/apiref.rst
Dosyayı görüntüle @
9636e98b
...
...
@@ -993,7 +993,7 @@ directories.
Files in *src* that begin with :file:`.nfs` are skipped (more information on
these files is available in answer D2 of the `NFS FAQ page
<http://nfs.sourceforge.net/#section_d>`_.
<http://nfs.sourceforge.net/#section_d>`_
)
.
.. versionchanged:: 3.3.1
NFS files are ignored.
...
...
Doc/faq/extending.rst
Dosyayı görüntüle @
9636e98b
...
...
@@ -95,8 +95,8 @@ To test the type of an object, first make sure it isn't *NULL*, and then use
There is also a high-level API to Python objects which is provided by the
so-called 'abstract' interface -- read ``Include/abstract.h`` for further
details. It allows interfacing with any kind of Python sequence using calls
like :c:func:`PySequence_Length`, :c:func:`PySequence_GetItem`, etc.
)
as well
as many other useful protocols such as numbers (:c:func:`PyNumber_Index` et
.
like :c:func:`PySequence_Length`, :c:func:`PySequence_GetItem`, etc. as well
as many other useful protocols such as numbers (:c:func:`PyNumber_Index` et
al.) and mappings in the PyMapping APIs.
...
...
Doc/library/enum.rst
Dosyayı görüntüle @
9636e98b
...
...
@@ -442,7 +442,7 @@ The complete signature is::
:value: What the new Enum class will record as its name.
:names: The Enum members. This can be a whitespace or comma sep
e
rated string
:names: The Enum members. This can be a whitespace or comma sep
a
rated string
(values will start at 1)::
'red green blue' | 'red,green,blue' | 'red, green, blue'
...
...
@@ -453,7 +453,7 @@ The complete signature is::
or a mapping::
{'chartr
ue
se': 7, 'sea_green': 11, 'rosemary': 42}
{'chartr
eu
se': 7, 'sea_green': 11, 'rosemary': 42}
:module: name of module where new Enum class can be found.
...
...
@@ -543,7 +543,7 @@ Some rules:
add methods and don't specify another data type such as :class:`int` or
:class:`str`.
3. When another data type is mixed in, the :attr:`value` attribute is *not the
same* as the enum member itself, although it is equival
a
nt and will compare
same* as the enum member itself, although it is equival
e
nt and will compare
equal.
4. %-style formatting: `%s` and `%r` call :class:`Enum`'s :meth:`__str__` and
:meth:`__repr__` respectively; other codes (such as `%i` or `%h` for
...
...
Doc/library/os.rst
Dosyayı görüntüle @
9636e98b
...
...
@@ -1607,7 +1607,7 @@ features:
The *dir_fd* argument.
.. function:: makedirs(
path
, mode=0o777, exist_ok=False)
.. function:: makedirs(
name
, mode=0o777, exist_ok=False)
.. index::
single: directory; creating
...
...
@@ -1763,7 +1763,7 @@ features:
The *dir_fd* argument.
.. function:: removedirs(
path
)
.. function:: removedirs(
name
)
.. index:: single: directory; deleting
...
...
Lib/os.py
Dosyayı görüntüle @
9636e98b
...
...
@@ -216,7 +216,7 @@ def _get_masked_mode(mode):
# (Inspired by Eric Raymond; the doc strings are mostly his)
def
makedirs
(
name
,
mode
=
0
o777
,
exist_ok
=
False
):
"""makedirs(
path
[, mode=0o777][, exist_ok=False])
"""makedirs(
name
[, mode=0o777][, exist_ok=False])
Super-mkdir; create a leaf directory and all intermediate ones.
Works like mkdir, except that any intermediate path segment (not
...
...
@@ -260,7 +260,7 @@ def makedirs(name, mode=0o777, exist_ok=False):
raise
def
removedirs
(
name
):
"""removedirs(
path
)
"""removedirs(
name
)
Super-rmdir; remove a leaf directory and all empty intermediate
ones. Works like rmdir except that, if the leaf directory is
...
...
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