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
1bc8c1eb
Commit
1bc8c1eb
authored
Jul 22, 2000
by
Thomas Wouters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused helper-function 'posix_strint'.
parent
3531730a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
Modules/posixmodule.c
Modules/posixmodule.c
+0
-18
No files found.
Modules/posixmodule.c
View file @
1bc8c1eb
...
@@ -495,24 +495,6 @@ posix_2str(PyObject *args, char *format,
...
@@ -495,24 +495,6 @@ posix_2str(PyObject *args, char *format,
return
Py_None
;
return
Py_None
;
}
}
static
PyObject
*
posix_strint
(
PyObject
*
args
,
char
*
format
,
int
(
*
func
)(
const
char
*
,
int
))
{
char
*
path
;
int
i
;
int
res
;
if
(
!
PyArg_ParseTuple
(
args
,
format
,
&
path
,
&
i
))
return
NULL
;
Py_BEGIN_ALLOW_THREADS
res
=
(
*
func
)(
path
,
i
);
Py_END_ALLOW_THREADS
if
(
res
<
0
)
return
posix_error_with_filename
(
path
);
Py_INCREF
(
Py_None
);
return
Py_None
;
}
/* pack a system stat C structure into the Python stat tuple
/* pack a system stat C structure into the Python stat tuple
(used by posix_stat() and posix_fstat()) */
(used by posix_stat() and posix_fstat()) */
static
PyObject
*
static
PyObject
*
...
...
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