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
0c2af2be
Kaydet (Commit)
0c2af2be
authored
Mar 08, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Spell emdash with three hyphens.
Minor nits.
üst
266b4c15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
14 deletions
+10
-14
libmarshal.tex
Doc/lib/libmarshal.tex
+5
-7
libmarshal.tex
Doc/libmarshal.tex
+5
-7
No files found.
Doc/lib/libmarshal.tex
Dosyayı görüntüle @
0c2af2be
\section
{
Built-in Module
\sectcode
{
marshal
}}
\label
{
module-marshal
}
\bimodindex
{
marshal
}
This module contains functions that can read and write Python
values in a binary format. The format is specific to Python, but
independent of machine architecture issues (e.g., you can write a
...
...
@@ -54,16 +54,14 @@ operating on strings.
The module defines these functions:
\setindexsubitem
{
(in module marshal)
}
\begin{funcdesc}
{
dump
}{
value
\,
file
}
\begin{funcdesc}
{
dump
}{
value, file
}
Write the value on the open file. The value must be a supported
type. The file must be an open file object such as
\code
{
sys.stdout
}
or returned by
\function
{
open()
}
or
\function
{
posix.popen()
}
.
If the value has (or contains an object that has) an unsupported type,
a
\exception
{
ValueError
}
exception is raised -- but garbage data
a
\exception
{
ValueError
}
exception is raised --
-
but garbage data
will also be written to the file. The object will not be properly
read back by
\function
{
load()
}
.
\end{funcdesc}
...
...
@@ -73,8 +71,8 @@ The module defines these functions:
is read, raise
\exception
{
EOFError
}
,
\exception
{
ValueError
}
or
\exception
{
TypeError
}
. The file must be an open file object.
Warning: If an object containing an unsupported type was marshalled
with
\function
{
dump()
}
,
\function
{
load()
}
will substitute
\strong
{
Warning:
}
If an object containing an unsupported type was
marshalled
with
\function
{
dump()
}
,
\function
{
load()
}
will substitute
\code
{
None
}
for the unmarshallable type.
\end{funcdesc}
...
...
Doc/libmarshal.tex
Dosyayı görüntüle @
0c2af2be
\section
{
Built-in Module
\sectcode
{
marshal
}}
\label
{
module-marshal
}
\bimodindex
{
marshal
}
This module contains functions that can read and write Python
values in a binary format. The format is specific to Python, but
independent of machine architecture issues (e.g., you can write a
...
...
@@ -54,16 +54,14 @@ operating on strings.
The module defines these functions:
\setindexsubitem
{
(in module marshal)
}
\begin{funcdesc}
{
dump
}{
value
\,
file
}
\begin{funcdesc}
{
dump
}{
value, file
}
Write the value on the open file. The value must be a supported
type. The file must be an open file object such as
\code
{
sys.stdout
}
or returned by
\function
{
open()
}
or
\function
{
posix.popen()
}
.
If the value has (or contains an object that has) an unsupported type,
a
\exception
{
ValueError
}
exception is raised -- but garbage data
a
\exception
{
ValueError
}
exception is raised --
-
but garbage data
will also be written to the file. The object will not be properly
read back by
\function
{
load()
}
.
\end{funcdesc}
...
...
@@ -73,8 +71,8 @@ The module defines these functions:
is read, raise
\exception
{
EOFError
}
,
\exception
{
ValueError
}
or
\exception
{
TypeError
}
. The file must be an open file object.
Warning: If an object containing an unsupported type was marshalled
with
\function
{
dump()
}
,
\function
{
load()
}
will substitute
\strong
{
Warning:
}
If an object containing an unsupported type was
marshalled
with
\function
{
dump()
}
,
\function
{
load()
}
will substitute
\code
{
None
}
for the unmarshallable type.
\end{funcdesc}
...
...
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