From 3bb156722e97c31260b4da6c22594a7698e5cf04 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 13 Mar 2007 07:23:16 +0000 Subject: [PATCH] Typo and grammar fixes. --- Objects/object.c | 6 +++--- Python/bltinmodule.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Objects/object.c b/Objects/object.c index e304d2fb11..1b37a8dad3 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -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) { diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index eef68e4cbc..082f64c344 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -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 * -- 2.50.1