Kaydet (Commit) 3bb15672 authored tarafından Georg Brandl's avatar Georg Brandl

Typo and grammar fixes.

üst 75c7c80e
......@@ -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) {
......
......@@ -503,7 +503,7 @@ PyDoc_STRVAR(dir_doc,
" for a module object: the module's attributes.\n"
" for a class object: its attributes, and recursively the attributes\n"
" of its bases.\n"
" for an other object: its attributes, its class's attributes, and\n"
" for any other object: its attributes, its class's attributes, and\n"
" recursively the attributes of its class's base classes.");
static PyObject *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment