From: Martin Panter <vadmium+py@gmail.com>
Date: Sat, 10 Oct 2015 10:17:57 +0000 (+0000)
Subject: Issue #22413: Remove comment made out of date by Argument Clinic
X-Git-Tag: v3.5.1rc1~187
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f26441609310c12826fe4b5bc896aafafa268763;p=python

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

diff --git a/Modules/_io/stringio.c b/Modules/_io/stringio.c
index 21c2b19a40..73018a5390 100644
--- a/Modules/_io/stringio.c
+++ b/Modules/_io/stringio.c
@@ -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;
     }