mirror of
https://github.com/python/cpython.git
synced 2025-09-10 02:36:56 +00:00
GetCreatorAndType and SetCreatorAndType have been undeprecated. Spotted by
Just.
This commit is contained in:
parent
5ddd4c3f77
commit
fe94e97e48
1 changed files with 2 additions and 2 deletions
|
@ -304,7 +304,7 @@ static PyTypeObject Rftype = {
|
||||||
/*----------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------*/
|
||||||
/* Miscellaneous File System Operations */
|
/* Miscellaneous File System Operations */
|
||||||
|
|
||||||
static char getcrtp_doc[] = "Obsolete, use macfs module";
|
static char getcrtp_doc[] = "Get MacOS 4-char creator and type for a file";
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
MacOS_GetCreatorAndType(PyObject *self, PyObject *args)
|
MacOS_GetCreatorAndType(PyObject *self, PyObject *args)
|
||||||
|
@ -326,7 +326,7 @@ MacOS_GetCreatorAndType(PyObject *self, PyObject *args)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char setcrtp_doc[] = "Obsolete, use macfs module";
|
static char setcrtp_doc[] = "Set MacOS 4-char creator and type for a file";
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
MacOS_SetCreatorAndType(PyObject *self, PyObject *args)
|
MacOS_SetCreatorAndType(PyObject *self, PyObject *args)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue