mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Typo and grammar fixes.
This commit is contained in:
parent
75c7c80ee5
commit
3bb156722e
2 changed files with 4 additions and 4 deletions
|
@ -1790,9 +1790,9 @@ error:
|
|||
static PyObject *
|
||||
_dir_object(PyObject *obj)
|
||||
{
|
||||
PyObject * result = NULL;
|
||||
PyObject * dirfunc = PyObject_GetAttrString((PyObject*)obj->ob_type,
|
||||
"__dir__");
|
||||
PyObject *result = NULL;
|
||||
PyObject *dirfunc = PyObject_GetAttrString((PyObject *)obj->ob_type,
|
||||
"__dir__");
|
||||
|
||||
assert(obj);
|
||||
if (dirfunc == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue