mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fix extra-long line; also makes py3k match trunk here.
This commit is contained in:
parent
238b1098ca
commit
e0d6f605f2
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ PyFloat_FromString(PyObject *v)
|
||||||
}
|
}
|
||||||
else if (PyObject_AsCharBuffer(v, &s, &len)) {
|
else if (PyObject_AsCharBuffer(v, &s, &len)) {
|
||||||
PyErr_SetString(PyExc_TypeError,
|
PyErr_SetString(PyExc_TypeError,
|
||||||
"float() argument must be a string or a number");
|
"float() argument must be a string or a number");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
last = s + len;
|
last = s + len;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue