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
36cbdf95
Kaydet (Commit)
36cbdf95
authored
Ock 03, 2006
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Updated doc from patch 1117398
üst
1a196b5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
libcookielib.tex
Doc/lib/libcookielib.tex
+10
-5
No files found.
Doc/lib/libcookielib.tex
Dosyayı görüntüle @
36cbdf95
...
...
@@ -36,7 +36,9 @@ The module defines the following exception:
\begin{excdesc}
{
LoadError
}
Instances of
\class
{
FileCookieJar
}
raise this exception on failure to
load cookies from a file.
load cookies from a file.
\note
{
For backwards-compatibility
with Python 2.4 (which raised an
\exception
{
IOError
}
),
\exception
{
LoadError
}
is a subclass of
\exception
{
IOError
}}
.
\end{excdesc}
...
...
@@ -273,16 +275,19 @@ Old cookies are kept unless overwritten by newly loaded ones.
Arguments are as for
\method
{
save()
}
.
The named file must be in the format understood by the class, or
\exception
{
LoadError
}
will be raised.
\exception
{
LoadError
}
will be raised. Also,
\exception
{
IOError
}
may
be raised, for example if the file does not exist.
\note
{
For
backwards-compatibility with Python 2.4 (which raised
an
\exception
{
IOError
}
),
\exception
{
LoadError
}
is a subclass
of
\exception
{
IOError
}
.
}
\end{methoddesc}
\begin{methoddesc}
[FileCookieJar]
{
revert
}{
filename=
\constant
{
None
}
,
ignore
_
discard=
\constant
{
False
}
, ignore
_
expires=
\constant
{
False
}}
Clear all cookies and reload cookies from a saved file.
Raises
\exception
{
cookielib.LoadError
}
or
\exception
{
IOError
}
if
reversion is not successful; the object's state will not be altered if
this happens.
\method
{
revert()
}
can raise the same exceptions as
\method
{
load()
}
.
If there is a failure, the object's state will not be altered.
\end{methoddesc}
\class
{
FileCookieJar
}
instances have the following public attributes:
...
...
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