[Patches] [ python-Patches-803449 ] modernize demo scripts
SourceForge.net
noreply at sourceforge.net
Tue Sep 9 15:37:18 EDT 2003
Patches item #803449, was opened at 2003-09-10 06:37
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=803449&group_id=5470
Category: Demos and tools
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: George Yoshida (quiver)
Assigned to: Nobody/Anonymous (nobody)
Summary: modernize demo scripts
Initial Comment:
I've tried modernizing and cleaning up Vec.py and
Rev.py
at /Demo/classes/ directory.
Changes are:
* remove deprecated apply.
* use isinstance() instead of type().
* avoid calling list's append method repeatedly.
* use string method instead of string module
* remove whitespaces inside parentheses.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=803449&group_id=5470
More information about the Patches
mailing list