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
9cf7587f
Commit
9cf7587f
authored
Apr 13, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update change to version_info structure.
parent
93a20bf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
Doc/lib/libsys.tex
Doc/lib/libsys.tex
+7
-6
No files found.
Doc/lib/libsys.tex
View file @
9cf7587f
...
...
@@ -327,12 +327,13 @@ directories (where appropriate on each platform). An example:
\end{datadesc}
\begin{datadesc}
{
version
_
info
}
A tuple containing the four components of the version number:
\var
{
major
}
,
\var
{
minor
}
,
\var
{
micro
}
as integers, and
\var
{
releaselevel
}
as a string. The
\var
{
releaselevel
}
value will be
an empty string for a final release. The
\code
{
version
_
info
}
value
corresponding to the
\code
{
version
}
string shown above is
\code
{
(1, 5, 2, '')
}
.
A tuple containing the five components of the version number:
\var
{
major
}
,
\var
{
minor
}
,
\var
{
micro
}
,
\var
{
releaselevel
}
, and
\var
{
serial
}
. All values except
\var
{
releaselevel
}
are integers; the
release level is
\code
{
'alpha'
}
,
\code
{
'beta'
}
,
\code
{
'candidate'
}
, or
\code
{
'final'
}
. The
\code
{
version
_
info
}
value
corresponding to the Python version 1.6 is
\code
{
(1, 6, 0, 'final', 0)
}
.
\versionadded
{
1.6
}
\end{datadesc}
...
...
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