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
0e61e67a
Kaydet (Commit)
0e61e67a
authored
Eki 12, 2017
tarafından
Daisuke Miyakawa
Kaydeden (comit)
Éric Araujo
Eki 12, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-31567: add or fix decorator markup in docs (#3959)
üst
277c8406
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
abc.rst
Doc/library/abc.rst
+1
-1
functions.rst
Doc/library/functions.rst
+4
-4
functools.rst
Doc/library/functools.rst
+2
-2
test.rst
Doc/library/test.rst
+1
-1
No files found.
Doc/library/abc.rst
Dosyayı görüntüle @
0e61e67a
...
...
@@ -278,7 +278,7 @@ The :mod:`abc` module also provides the following decorators:
:func:`abstractmethod`, making this decorator redundant.
.. decorator:: abstractproperty
(fget=None, fset=None, fdel=None, doc=None)
.. decorator:: abstractproperty
A subclass of the built-in :func:`property`, indicating an abstract
property.
...
...
Doc/library/functions.rst
Dosyayı görüntüle @
0e61e67a
...
...
@@ -196,9 +196,9 @@ are always available. They are listed here in alphabetical order.
base 16). :exc:`ValueError` will be raised if *i* is outside that range.
..
function:: classmethod(function)
..
decorator:: classmethod
Return a class method for *function*
.
Transform a method into a class method
.
A class method receives the class as implicit first argument, just like an
instance method receives the instance. To declare a class method, use this
...
...
@@ -1398,9 +1398,9 @@ are always available. They are listed here in alphabetical order.
For sorting examples and a brief sorting tutorial, see :ref:`sortinghowto`.
..
function:: staticmethod(function)
..
decorator:: staticmethod
Return a static method for *function*
.
Transform a method into a static method
.
A static method does not receive an implicit first argument. To declare a static
method, use this idiom::
...
...
Doc/library/functools.rst
Dosyayı görüntüle @
0e61e67a
...
...
@@ -264,9 +264,9 @@ The :mod:`functools` module defines the following functions:
return value
.. decorator:: singledispatch
(default)
.. decorator:: singledispatch
Transform
s
a function into a :term:`single-dispatch <single
Transform a function into a :term:`single-dispatch <single
dispatch>` :term:`generic function`.
To define a generic function, decorate it with the ``@singledispatch``
...
...
Doc/library/test.rst
Dosyayı görüntüle @
0e61e67a
...
...
@@ -440,7 +440,7 @@ The :mod:`test.support` module defines the following functions:
otherwise.
.. decorator:: skip_unless_symlink
()
.. decorator:: skip_unless_symlink
A decorator for running tests that require support for symbolic links.
...
...
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