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
aa5f8739
Kaydet (Commit)
aa5f8739
authored
Eyl 01, 2008
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bug #3738: Documentation is now more accurate in describing handler close methods.
üst
e5c1d294
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
logging.rst
Doc/library/logging.rst
+6
-4
No files found.
Doc/library/logging.rst
Dosyayı görüntüle @
aa5f8739
...
...
@@ -1504,8 +1504,10 @@ subclasses. However, the :meth:`__init__` method in subclasses needs to call
..
method
::
Handler
.
close
()
Tidy
up
any
resources
used
by
the
handler
.
This
version
does
nothing
and
is
intended
to
be
implemented
by
subclasses
.
Tidy
up
any
resources
used
by
the
handler
.
This
version
does
no
output
but
removes
the
handler
from
an
internal
list
of
handlers
which
is
closed
when
:
func
:`
shutdown
`
is
called
.
Subclasses
should
ensure
that
this
gets
called
from
overridden
:
meth
:`
close
`
methods
.
..
method
::
Handler
.
handle
(
record
)
...
...
@@ -1567,7 +1569,7 @@ and :meth:`flush` methods).
Flushes
the
stream
by
calling
its
:
meth
:`
flush
`
method
.
Note
that
the
:
meth
:`
close
`
method
is
inherited
from
:
class
:`
Handler
`
and
so
does
no
thing
,
so
an
explicit
:
meth
:`
flush
`
call
may
be
needed
at
times
.
no
output
,
so
an
explicit
:
meth
:`
flush
`
call
may
be
needed
at
times
.
FileHandler
...
...
@@ -1887,7 +1889,7 @@ extensions for Python installed.
source
of
event
log
entries
.
However
,
if
you
do
this
,
you
will
not
be
able
to
see
the
events
as
you
intended
in
the
Event
Log
Viewer
-
it
needs
to
be
able
to
access
the
registry
to
get
the
.
dll
name
.
The
current
version
does
not
do
this
(
in
fact
it
doesn
't do anything)
.
not
do
this
.
..
method
::
emit
(
record
)
...
...
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