[Patches] [ python-Patches-630622 ] docstrings in _codecs

noreply@sourceforge.net noreply@sourceforge.net
Thu, 31 Oct 2002 05:39:25 -0800


Patches item #630622, was opened at 2002-10-29 19:08
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=630622&group_id=5470

Category: Core (C code)
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Walter Dörwald (doerwalter)
Summary: docstrings in _codecs

Initial Comment:
This patch adds docstrings to the four function
register, lookup, register_error and lookup_error in
Modules/_codecsmodule.c. Is adding docstrings to the
other *_decode/*_encode functions is worth the effort?

----------------------------------------------------------------------

>Comment By: Walter Dörwald (doerwalter)
Date: 2002-10-31 14:39

Message:
Logged In: YES 
user_id=89016

Checked in as Modules/_codecsmodule.c 2.16

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-10-31 14:07

Message:
Logged In: YES 
user_id=21627

The patch looks fine, please apply it.

I would leave the specific encoding functions undocumented -
their name implies what they do, and they are not meant for
direct usage, anyway.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=630622&group_id=5470