[ python-Feature Requests-1212169 ] Prepending Text

SourceForge.net noreply at sourceforge.net
Tue May 31 19:59:13 CEST 2005


Feature Requests item #1212169, was opened at 2005-05-31 11:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1212169&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Aaron Elbaz (flamesrock)
Assigned to: Nobody/Anonymous (nobody)
Summary: Prepending Text

Initial Comment:
Perhaps this has already been considered, but I have an
idea that would make neat addition to python:

Appending a string to another string can be done with
+= or .join(), but currently, there is no elegant way
to prepend to a string.

How about something like-
string.prepend(list.pop(0)

?

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

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


More information about the Python-bugs-list mailing list