[Python-checkins] python/dist/src/Objects typeobject.c,2.173,2.174

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Tue, 13 Aug 2002 10:18:47 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv12360/Objects

Modified Files:
	typeobject.c 
Log Message:
Allow docstrings to be removed during compilation

Index: typeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v
retrieving revision 2.173
retrieving revision 2.174
diff -C2 -d -r2.173 -r2.174
*** typeobject.c	12 Aug 2002 19:25:08 -0000	2.173
--- typeobject.c	13 Aug 2002 17:18:45 -0000	2.174
***************
*** 956,962 ****
  	   The descriptor's __get__ method may raise AttributeError. */
  	{"__dict__", subtype_dict, subtype_setdict,
! 	 "dictionary for instance variables (if defined)"},
  	{"__weakref__", subtype_getweakref, NULL,
! 	 "list of weak references to the object (if defined)"},
  	{0}
  };
--- 956,962 ----
  	   The descriptor's __get__ method may raise AttributeError. */
  	{"__dict__", subtype_dict, subtype_setdict,
! 	 PyDoc_STR("dictionary for instance variables (if defined)")},
  	{"__weakref__", subtype_getweakref, NULL,
! 	 PyDoc_STR("list of weak references to the object (if defined)")},
  	{0}
  };
***************
*** 1879,1883 ****
  static PyGetSetDef object_getsets[] = {
  	{"__class__", object_get_class, object_set_class,
! 	 "the object's class"},
  	{0}
  };
--- 1879,1883 ----
  static PyGetSetDef object_getsets[] = {
  	{"__class__", object_get_class, object_set_class,
! 	 PyDoc_STR("the object's class")},
  	{0}
  };