Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7ddd0431
Commit
7ddd0431
authored
Mar 08, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved solitary "see also" paragraph into a {seealso} environment, and told
why the reader should see also.
parent
013ad986
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
Doc/lib/libstruct.tex
Doc/lib/libstruct.tex
+7
-6
Doc/libstruct.tex
Doc/libstruct.tex
+7
-6
No files found.
Doc/lib/libstruct.tex
View file @
7ddd0431
...
...
@@ -8,12 +8,9 @@ structs represented as Python strings. It uses \dfn{format strings}
(explained below) as compact descriptions of the lay-out of the C
structs and the intended conversion to/from Python values.
See also built-in module
\code
{
array
}
.
\refbimodindex
{
array
}
The module defines the following exception and functions:
\setindexsubitem
{
(in module struct)
}
\begin{excdesc}
{
error
}
Exception raised on various occasions; argument is a string
describing what is wrong.
...
...
@@ -135,5 +132,9 @@ Hint: to align the end of a structure to the alignment requirement of
a particular type, end the format with the code for that type with a
repeat count of zero, e.g.
\
the format
\code
{
'llh0l'
}
specifies two
pad bytes at the end, assuming longs are aligned on 4-byte boundaries.
(This only works when native size and alignment are in effect;
standard size and alignment does not enforce any alignment.)
This only works when native size and alignment are in effect;
standard size and alignment does not enforce any alignment.
\begin{seealso}
\seemodule
{
array
}{
packed binary storage of homogeneous data
}
\end{seealso}
Doc/libstruct.tex
View file @
7ddd0431
...
...
@@ -8,12 +8,9 @@ structs represented as Python strings. It uses \dfn{format strings}
(explained below) as compact descriptions of the lay-out of the C
structs and the intended conversion to/from Python values.
See also built-in module
\code
{
array
}
.
\refbimodindex
{
array
}
The module defines the following exception and functions:
\setindexsubitem
{
(in module struct)
}
\begin{excdesc}
{
error
}
Exception raised on various occasions; argument is a string
describing what is wrong.
...
...
@@ -135,5 +132,9 @@ Hint: to align the end of a structure to the alignment requirement of
a particular type, end the format with the code for that type with a
repeat count of zero, e.g.
\
the format
\code
{
'llh0l'
}
specifies two
pad bytes at the end, assuming longs are aligned on 4-byte boundaries.
(This only works when native size and alignment are in effect;
standard size and alignment does not enforce any alignment.)
This only works when native size and alignment are in effect;
standard size and alignment does not enforce any alignment.
\begin{seealso}
\seemodule
{
array
}{
packed binary storage of homogeneous data
}
\end{seealso}
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