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
2e32696e
Commit
2e32696e
authored
Sep 23, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added warnings about platform vagaries to the strptime() documentation.
This closes SourceForge bug #115146.
parent
893a381f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
Doc/lib/libtime.tex
Doc/lib/libtime.tex
+9
-1
No files found.
Doc/lib/libtime.tex
View file @
2e32696e
...
...
@@ -237,7 +237,15 @@ directives as those used by \function{strftime()}; it defaults to
returned by
\function
{
ctime()
}
. The same platform caveats apply; see
the local
\UNIX
{}
documentation for restrictions or additional
supported directives. If
\var
{
string
}
cannot be parsed according to
\var
{
format
}
,
\exception
{
ValueError
}
is raised.
\var
{
format
}
,
\exception
{
ValueError
}
is raised. Values which are not
provided as part of the input string are filled in with default
values; the specific values are platform-dependent as the XPG standard
does not provide sufficient information to constrain the result.
\strong
{
Note:
}
This function relies entirely on the underlying
platform's C library for the date parsing, and some of these libraries
are buggy. There's nothing to be done about this short of a new,
portable implementation of
\cfunction
{
strptime()
}
.
Availability: Most modern
\UNIX
{}
systems.
\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