summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-02-15 14:35:09 (GMT)
committerFred Drake <fdrake@acm.org>2002-02-15 14:35:09 (GMT)
commit960d7a68d0d38e71778a0a56ecc8e266da7d332f (patch)
tree79032930ccabf1d44a20afe034e22e2f25a22c67 /Doc
parent928051fb26f694249c83fd6a0ec1125526799860 (diff)
downloadcpython-960d7a68d0d38e71778a0a56ecc8e266da7d332f.zip
cpython-960d7a68d0d38e71778a0a56ecc8e266da7d332f.tar.gz
cpython-960d7a68d0d38e71778a0a56ecc8e266da7d332f.tar.bz2
Added deprecatioon information for mac.xstat().
This closes SF bug #505150.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/mac/libmac.tex9
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/mac/libmac.tex b/Doc/mac/libmac.tex
index 7644d81..b0a3382 100644
--- a/Doc/mac/libmac.tex
+++ b/Doc/mac/libmac.tex
@@ -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
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}
This function returns the same information as \function{stat()}, but
with three additional values appended: the size of the resource fork
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}