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
960d7a68
Commit
960d7a68
authored
Feb 15, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added deprecatioon information for mac.xstat().
This closes SF bug #505150.
parent
928051fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
Doc/mac/libmac.tex
Doc/mac/libmac.tex
+8
-1
No files found.
Doc/mac/libmac.tex
View file @
960d7a68
...
@@ -31,12 +31,19 @@ as well as the exception \exception{error}. Note that the times
...
@@ -31,12 +31,19 @@ as well as the exception \exception{error}. Note that the times
returned by
\function
{
stat()
}
are floating-point values, like all time
returned by
\function
{
stat()
}
are floating-point values, like all time
values in MacPython.
values in MacPython.
One additional function is available:
One additional function is available, but only under Classic MacPython,
not under Carbon MacPython:
\begin{funcdesc}
{
xstat
}{
path
}
\begin{funcdesc}
{
xstat
}{
path
}
This function returns the same information as
\function
{
stat()
}
, but
This function returns the same information as
\function
{
stat()
}
, but
with three additional values appended: the size of the resource fork
with three additional values appended: the size of the resource fork
of the file and its 4-character creator and type.
of the file and its 4-character creator and type.
Availability: Classic MacPython only.
\deprecated
{
2.3
}{
Use the
\function
{
\refmodule
{
macfs
}
.FSSpec()
}
function to get an FSSpec object for the file, then
use the
\method
{
GetCreatorType()
}
method to get the
creator and type information. It will no longer be
possible to get the size of the resource fork.
}
\end{funcdesc}
\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