Article View: pl.comp.lang.python
Article #27456Re: dynamiczna lista i krotka
From: Jordan Szubert
Date: Sat, 08 May 2010 14:49
Date: Sat, 08 May 2010 14:49
16 lines
1711 bytes
1711 bytes
Dnia 08-05-2010 o 16:17:18 Michał Żarłok <mishaaq_*wytnij_*to_*@gmail.com> napisał(a): > Adam Przybyla wrote: >> .. moze tak: >> (0,)*len(a) >> Z powazaniem >> Adam Przybyla > > Uwaga! Takie wyrażenie tworzy krotkę o długości len(a), której > elementami są referencje do tego samego obiektu! co może być problemem, jeśli jest to obiekt modyfikowalny, 0 nie jest, a to mnożenie wygląda na szybkie... [8<]
Technical Details
Message-ID:
<op.vcd544ttus2y1v@klaptop7>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!feeder.erje.net!feeder.news-service.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mailReferences:
<d7106010-510d-4f48-99fb-a7bce7d8b6f3@b18g2000yqb.googlegroups.com> <hrr7t7$4oo$1@solani.org> <hrr8bm$58h$1@news.task.gda.pl> <8152b6d4-da3e-4e32-a2d7-3fc7367f6633@d39g2000yqa.googlegroups.com> <hrs7oa$r28$1@polsl.pl> <hs3rpb$462$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!feeder.erje.net!feeder.news-service.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail Newsgroups: pl.comp.lang.python Subject: Re: dynamiczna lista i krotka References: <d7106010-510d-4f48-99fb-a7bce7d8b6f3@b18g2000yqb.googlegroups.com> <hrr7t7$4oo$1@solani.org> <hrr8bm$58h$1@news.task.gda.pl> <8152b6d4-da3e-4e32-a2d7-3fc7367f6633@d39g2000yqa.googlegroups.com> <hrs7oa$r28$1@polsl.pl> <hs3rpb$462$1@inews.gazeta.pl> Date: Sat, 08 May 2010 16:49:42 +0200 MIME-Version: 1.0 From: "Jordan Szubert" <nie@podam.na.razie> Organization: HELL inc. Message-ID: <op.vcd544ttus2y1v@klaptop7> User-Agent: Opera Mail/10.53 (Win32) X-Antivirus: avast! (VPS 100508-0, 2010-05-08), Outbound message X-Antivirus-Status: Clean Lines: 21 NNTP-Posting-Host: 83.26.224.147 X-Trace: 1273330179 unt-rea-b-01.news.neostrada.pl 17085 83.26.224.147:19817 X-Complaints-To: abuse@news.neostrada.pl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit