[Python-checkins] CVS: python/dist/src/Python bltinmodule.c,2.153,2.154

Fred Drake python-dev@python.org
Wed, 12 Apr 2000 22:42:53 -0400


Update of /projects/cvsroot/python/dist/src/Python
In directory seahag.cnri.reston.va.us:/home/fdrake/projects/python/Python

Modified Files:
	bltinmodule.c 
Log Message:

When refering to Unicode characters in exception messages and
docstrings, the documentation guidelines call for "Unicode", not
"unicode".  Comply.


Index: bltinmodule.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.153
retrieving revision 2.154
diff -C2 -r2.153 -r2.154
*** bltinmodule.c	2000/04/12 21:19:47	2.153
--- bltinmodule.c	2000/04/13 02:42:50	2.154
***************
*** 193,197 ****
  "unicode(string [, encoding[, errors]]) -> object\n\
  \n\
! Creates a new unicode object from the given encoded string.\n\
  encoding defaults to 'utf-8' and errors, defining the error handling,\n\
  to 'strict'.";
--- 193,197 ----
  "unicode(string [, encoding[, errors]]) -> object\n\
  \n\
! Creates a new Unicode object from the given encoded string.\n\
  encoding defaults to 'utf-8' and errors, defining the error handling,\n\
  to 'strict'.";
***************
*** 369,375 ****
  
  static char unichr_doc[] =
! "unichr(i) -> unicode character\n\
  \n\
! Return a unicode string of one character with ordinal i; 0 <= i < 65536.";
  
  
--- 369,375 ----
  
  static char unichr_doc[] =
! "unichr(i) -> Unicode character\n\
  \n\
! Return a Unicode string of one character with ordinal i; 0 <= i < 65536.";
  
  
***************
*** 1658,1662 ****
  	} else {
  		PyErr_Format(PyExc_TypeError,
! 			     "expected string or unicode character, " \
  			     "%.200s found", obj->ob_type->tp_name);
  		return NULL;
--- 1658,1662 ----
  	} else {
  		PyErr_Format(PyExc_TypeError,
! 			     "expected string or Unicode character, " \
  			     "%.200s found", obj->ob_type->tp_name);
  		return NULL;
***************
*** 1674,1678 ****
  "ord(c) -> integer\n\
  \n\
! Return the integer ordinal of a one character [unicode] string.";
  
  
--- 1674,1678 ----
  "ord(c) -> integer\n\
  \n\
! Return the integer ordinal of a one character string.";