[Tutor] a quick Q: what does the "collapse" mean?

Marc Tompkins marc.tompkins at gmail.com
Thu Sep 8 17:17:05 CEST 2011


On Thu, Sep 8, 2011 at 8:08 AM, lina <lina.lastname at gmail.com> wrote:

> On Thu, Sep 8, 2011 at 11:03 PM, Steven D'Aprano <steve at pearwood.info>
> wrote:
> > lina wrote:
> >
> >> collapse the text means? destory the text? make it collapse?
> >
> > Collapse runs of spaces into a single space.
>
> That's what I want, thanks.  ^_^
>

Be aware that that meaning of "collapse" is not a standard Python term -
it's just the word that the author chose to describe this function.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110908/bed297b2/attachment.html>


More information about the Tutor mailing list