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

lina lina.lastname at gmail.com
Thu Sep 8 17:35:49 CEST 2011


On Thu, Sep 8, 2011 at 11:17 PM, Marc Tompkins <marc.tompkins at gmail.com> wrote:
> 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.

Thanks for reminding.

Sometimes it's not so easy to realize which part I should focus to
understand well.

>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>



-- 
Best Regards,

lina


More information about the Tutor mailing list