[Patches] [ python-Patches-943953 ] Add maketrans to string object
SourceForge.net
noreply at sourceforge.net
Wed Apr 28 15:43:27 EDT 2004
Patches item #943953, was opened at 2004-04-28 19:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=943953&group_id=5470
Category: Core (C code)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gyro Funch (siva1311)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add maketrans to string object
Initial Comment:
Added maketrans method to the string object.
This functionality is currently only in the string module.
string module -> str object
string.maketrans(from,to) -> from.maketrans(to)
Attached is the diff for stringobject.c and string_test.py
I am not a proficient C coder, but things look okay to
me and the tests pass.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=943953&group_id=5470
More information about the Patches
mailing list