Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removes ArgumentClinic code.
  • Loading branch information
lisroach committed Feb 23, 2017
commit 25e2482e8ec445c65652519572d66815963c00da
12 changes: 0 additions & 12 deletions Objects/unicodeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -11693,18 +11693,6 @@ arguments start and end are interpreted as in slice notation.\n\
\n\
Raises ValueError when the subsection is not found.");

/*[clinic input]
str.index as unicode_index

Return the lowest index in B where subsection sub is found.

Return the lowest index in B where subsection sub is found,
such that sub is contained within B[start,end]. Optional
arguments start and end are interpreted as in slice notation.

Raises ValueError when the subsection is not found.
[clinic start generated code]*/

static PyObject *
unicode_index(PyObject *self, PyObject *args)
{
Expand Down