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
3daaf5f8
Kaydet (Commit)
3daaf5f8
authored
Kas 04, 2013
tarafından
Nick Coghlan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix functools.partialmethod docs and __all__
üst
21ea21ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
functools.rst
Doc/library/functools.rst
+2
-2
functools.py
Lib/functools.py
+1
-1
No files found.
Doc/library/functools.rst
Dosyayı görüntüle @
3daaf5f8
...
@@ -223,8 +223,8 @@ The :mod:`functools` module defines the following functions:
...
@@ -223,8 +223,8 @@ The :mod:`functools` module defines the following functions:
... return self._alive
... return self._alive
... def set_state(self, state):
... def set_state(self, state):
... self._alive = bool(state)
... self._alive = bool(state)
... set_alive = partialmethod(set_
aliv
e, True)
... set_alive = partialmethod(set_
stat
e, True)
... set_dead = partialmethod(set_
aliv
e, False)
... set_dead = partialmethod(set_
stat
e, False)
...
...
>>> c = Cell()
>>> c = Cell()
>>> c.alive
>>> c.alive
...
...
Lib/functools.py
Dosyayı görüntüle @
3daaf5f8
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
__all__
=
[
'update_wrapper'
,
'wraps'
,
'WRAPPER_ASSIGNMENTS'
,
'WRAPPER_UPDATES'
,
__all__
=
[
'update_wrapper'
,
'wraps'
,
'WRAPPER_ASSIGNMENTS'
,
'WRAPPER_UPDATES'
,
'total_ordering'
,
'cmp_to_key'
,
'lru_cache'
,
'reduce'
,
'partial'
,
'total_ordering'
,
'cmp_to_key'
,
'lru_cache'
,
'reduce'
,
'partial'
,
'singledispatch'
]
'
partialmethod'
,
'
singledispatch'
]
try
:
try
:
from
_functools
import
reduce
from
_functools
import
reduce
...
...
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