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
2babd7b1
Commit
2babd7b1
authored
Jul 24, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document getsize(), getmtime(), getatime().
parent
2bc1f8f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
Doc/lib/libposixpath.tex
Doc/lib/libposixpath.tex
+19
-0
No files found.
Doc/lib/libposixpath.tex
View file @
2babd7b1
...
...
@@ -50,6 +50,25 @@ variable names and references to non-existing variables are left
unchanged.
\end{funcdesc}
\begin{funcdesc}
{
getsize
}{
filename
}
Return the size, in bytes, of
\var
{
filename
}
. Raise
\exception
{
os.error
}
if the file does not exist or is inaccessible.
\end{funcdesc}
\begin{funcdesc}
{
getmtime
}{
filename
}
Return the time of last modification of
\var
{
filename
}
. The return
value is integer giving the number of seconds since the epoch (see the
\module
{
time
}
module. Raise
\exception
{
os.error
}
if the file does not
exist or is inaccessible.
\end{funcdesc}
\begin{funcdesc}
{
getatime
}{
filename
}
Return the time of last access of
\var
{
filename
}
. The return
value is integer giving the number of seconds since the epoch (see the
\module
{
time
}
module. Raise
\exception
{
os.error
}
if the file does not
exist or is inaccessible.
\end{funcdesc}
\begin{funcdesc}
{
isabs
}{
p
}
Return true if
\var
{
p
}
is an absolute pathname (begins with a slash).
\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