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
7e957d38
Commit
7e957d38
authored
Apr 06, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code (reported by HP compiler).
Can probably be backported if anyone cares.
parent
ffb0d90a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
Objects/stringobject.c
Objects/stringobject.c
+5
-8
No files found.
Objects/stringobject.c
View file @
7e957d38
...
...
@@ -1952,17 +1952,14 @@ do_argstrip(PyStringObject *self, int striptype, PyObject *args)
return
res
;
}
#endif
else
{
PyErr_Format
(
PyExc_TypeError
,
PyErr_Format
(
PyExc_TypeError
,
#ifdef Py_USING_UNICODE
"%s arg must be None, str or unicode"
,
"%s arg must be None, str or unicode"
,
#else
"%s arg must be None or str"
,
"%s arg must be None or str"
,
#endif
STRIPNAME
(
striptype
));
return
NULL
;
}
return
do_xstrip
(
self
,
striptype
,
sep
);
STRIPNAME
(
striptype
));
return
NULL
;
}
return
do_strip
(
self
,
striptype
);
...
...
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