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
437e15d4
Kaydet (Commit)
437e15d4
authored
Ock 06, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#1680: fix context manager example function name.
üst
c45346f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
stdtypes.rst
Doc/library/stdtypes.rst
+1
-1
No files found.
Doc/library/stdtypes.rst
Dosyayı görüntüle @
437e15d4
...
@@ -2190,7 +2190,7 @@ to be provided for a context manager object to define a runtime context:
...
@@ -2190,7 +2190,7 @@ to be provided for a context manager object to define a runtime context:
the context expression in a :keyword:`with` statement.
the context expression in a :keyword:`with` statement.
An example of a context manager that returns a related object is the one
An example of a context manager that returns a related object is the one
returned by
``decimal.Context.get_manager()`
`. These managers set the active
returned by
:func:`decimal.localcontext
`. These managers set the active
decimal context to a copy of the original decimal context and then return the
decimal context to a copy of the original decimal context and then return the
copy. This allows changes to be made to the current decimal context in the body
copy. This allows changes to be made to the current decimal context in the body
of the :keyword:`with` statement without affecting code outside the
of the :keyword:`with` statement without affecting code outside the
...
...
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