[Python-checkins] python/dist/src/Doc/api concrete.tex,1.6.6.3,1.6.6.4

anthonybaxter@sourceforge.net anthonybaxter@sourceforge.net
Mon, 29 Apr 2002 21:07:59 -0700


Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv12037/Doc/api

Modified Files:
      Tag: release22-maint
	concrete.tex 
Log Message:
backport theller's patch:

Typo: whcar_t should be wchar_t.

Bugfix candidate? Don't know how this is handled in the docs.

Original patch(es):
python/dist/src/Doc/api/concrete.tex:1.15



Index: concrete.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/concrete.tex,v
retrieving revision 1.6.6.3
retrieving revision 1.6.6.4
diff -C2 -d -r1.6.6.3 -r1.6.6.4
*** concrete.tex	30 Apr 2002 03:24:12 -0000	1.6.6.3
--- concrete.tex	30 Apr 2002 04:07:57 -0000	1.6.6.4
***************
*** 881,885 ****
  \begin{cfuncdesc}{PyObject*}{PyUnicode_FromWideChar}{const wchar_t *w,
                                                       int size}
!   Create a Unicode object from the \ctype{whcar_t} buffer \var{w} of
    the given size.  Returns \NULL{} on failure.
  \end{cfuncdesc}
--- 881,885 ----
  \begin{cfuncdesc}{PyObject*}{PyUnicode_FromWideChar}{const wchar_t *w,
                                                       int size}
!   Create a Unicode object from the \ctype{wchar_t} buffer \var{w} of
    the given size.  Returns \NULL{} on failure.
  \end{cfuncdesc}
***************
*** 888,894 ****
                                               wchar_t *w,
                                               int size}
!   Copies the Unicode object contents into the \ctype{whcar_t} buffer
!   \var{w}.  At most \var{size} \ctype{whcar_t} characters are copied.
!   Returns the number of \ctype{whcar_t} characters copied or -1 in
    case of an error.
  \end{cfuncdesc}
--- 888,894 ----
                                               wchar_t *w,
                                               int size}
!   Copies the Unicode object contents into the \ctype{wchar_t} buffer
!   \var{w}.  At most \var{size} \ctype{wchar_t} characters are copied.
!   Returns the number of \ctype{wchar_t} characters copied or -1 in
    case of an error.
  \end{cfuncdesc}