Issue #22413: Remove comment made out of date by Argument Clinic

This commit is contained in:
Martin Panter 2015-10-10 10:17:57 +00:00
parent 994815e1d7
commit f264416093
1 changed files with 2 additions and 4 deletions

View File

@ -696,10 +696,8 @@ _io_StringIO___init___impl(stringio *self, PyObject *value,
char *newline = "\n";
Py_ssize_t value_len;
/* Parse the newline argument. This used to be done with the 'z'
specifier, however this allowed any object with the buffer interface to
be converted. Thus we have to parse it manually since we only want to
allow unicode objects or None. */
/* Parse the newline argument. We only want to allow unicode objects or
None. */
if (newline_obj == Py_None) {
newline = NULL;
}