@@ -2460,10 +2460,10 @@ PyDoc_STRVAR(os_stat__doc__,
24602460 {"stat", (PyCFunction)os_stat, METH_VARARGS|METH_KEYWORDS, os_stat__doc__},
24612461
24622462static PyObject *
2463- os_stat_impl (PyObject * self , path_t * path , int dir_fd , int follow_symlinks );
2463+ os_stat_impl (PyObject * module , path_t * path , int dir_fd , int follow_symlinks );
24642464
24652465static PyObject *
2466- os_stat (PyObject * self , PyObject * args , PyObject * kwargs )
2466+ os_stat (PyObject * module , PyObject * args , PyObject * kwargs )
24672467{
24682468 PyObject * return_value = NULL ;
24692469 static char * _keywords [] = {"path" , "dir_fd" , "follow_symlinks" , NULL };
@@ -2475,7 +2475,7 @@ os_stat(PyObject *self, PyObject *args, PyObject *kwargs)
24752475 "O&|$O&p:stat" , _keywords ,
24762476 path_converter , & path , OS_STAT_DIR_FD_CONVERTER , & dir_fd , & follow_symlinks ))
24772477 goto exit ;
2478- return_value = os_stat_impl (self , & path , dir_fd , follow_symlinks );
2478+ return_value = os_stat_impl (module , & path , dir_fd , follow_symlinks );
24792479
24802480exit :
24812481 /* Cleanup for path */
@@ -2485,8 +2485,8 @@ os_stat(PyObject *self, PyObject *args, PyObject *kwargs)
24852485}
24862486
24872487static PyObject *
2488- os_stat_impl (PyObject * self , path_t * path , int dir_fd , int follow_symlinks )
2489- /*[clinic checksum: 9d9af08e8cfafd12f94e73ea3065eb3056f99515 ]*/
2488+ os_stat_impl (PyObject * module , path_t * path , int dir_fd , int follow_symlinks )
2489+ /*[clinic checksum: 89390f78327e3f045a81974d758d3996e2a71f68 ]*/
24902490{
24912491 return posix_do_stat ("stat" , path , dir_fd , follow_symlinks );
24922492}
@@ -2600,10 +2600,10 @@ PyDoc_STRVAR(os_access__doc__,
26002600 {"access", (PyCFunction)os_access, METH_VARARGS|METH_KEYWORDS, os_access__doc__},
26012601
26022602static PyObject *
2603- os_access_impl (PyObject * self , path_t * path , int mode , int dir_fd , int effective_ids , int follow_symlinks );
2603+ os_access_impl (PyObject * module , path_t * path , int mode , int dir_fd , int effective_ids , int follow_symlinks );
26042604
26052605static PyObject *
2606- os_access (PyObject * self , PyObject * args , PyObject * kwargs )
2606+ os_access (PyObject * module , PyObject * args , PyObject * kwargs )
26072607{
26082608 PyObject * return_value = NULL ;
26092609 static char * _keywords [] = {"path" , "mode" , "dir_fd" , "effective_ids" , "follow_symlinks" , NULL };
@@ -2617,7 +2617,7 @@ os_access(PyObject *self, PyObject *args, PyObject *kwargs)
26172617 "O&i|$O&pp:access" , _keywords ,
26182618 path_converter , & path , & mode , OS_STAT_DIR_FD_CONVERTER , & dir_fd , & effective_ids , & follow_symlinks ))
26192619 goto exit ;
2620- return_value = os_access_impl (self , & path , mode , dir_fd , effective_ids , follow_symlinks );
2620+ return_value = os_access_impl (module , & path , mode , dir_fd , effective_ids , follow_symlinks );
26212621
26222622exit :
26232623 /* Cleanup for path */
@@ -2627,8 +2627,8 @@ os_access(PyObject *self, PyObject *args, PyObject *kwargs)
26272627}
26282628
26292629static PyObject *
2630- os_access_impl (PyObject * self , path_t * path , int mode , int dir_fd , int effective_ids , int follow_symlinks )
2631- /*[clinic checksum: 0147557eb43243df57ba616cc7c35f232c69bc6a ]*/
2630+ os_access_impl (PyObject * module , path_t * path , int mode , int dir_fd , int effective_ids , int follow_symlinks )
2631+ /*[clinic checksum: aa3e145816a748172e62df8e44af74169c7e1247 ]*/
26322632{
26332633 PyObject * return_value = NULL ;
26342634
@@ -2734,10 +2734,10 @@ PyDoc_STRVAR(os_ttyname__doc__,
27342734 {"ttyname", (PyCFunction)os_ttyname, METH_VARARGS, os_ttyname__doc__},
27352735
27362736static char *
2737- os_ttyname_impl (PyObject * self , int fd );
2737+ os_ttyname_impl (PyObject * module , int fd );
27382738
27392739static PyObject *
2740- os_ttyname (PyObject * self , PyObject * args )
2740+ os_ttyname (PyObject * module , PyObject * args )
27412741{
27422742 PyObject * return_value = NULL ;
27432743 int fd ;
@@ -2747,7 +2747,7 @@ os_ttyname(PyObject *self, PyObject *args)
27472747 "i:ttyname" ,
27482748 & fd ))
27492749 goto exit ;
2750- _return_value = os_ttyname_impl (self , fd );
2750+ _return_value = os_ttyname_impl (module , fd );
27512751 if (_return_value == NULL )
27522752 goto exit ;
27532753 return_value = PyUnicode_DecodeFSDefault (_return_value );
@@ -2757,8 +2757,8 @@ os_ttyname(PyObject *self, PyObject *args)
27572757}
27582758
27592759static char *
2760- os_ttyname_impl (PyObject * self , int fd )
2761- /*[clinic checksum: ea680155d87bb733f542d67653eca732dd0981a8 ]*/
2760+ os_ttyname_impl (PyObject * module , int fd )
2761+ /*[clinic checksum: c742dd621ec98d0f81d37d264e1d3c89c7a5fb1a ]*/
27622762{
27632763 char * ret ;
27642764
0 commit comments