🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.python
Article #27354

Przestrzeń nazw (?)

#27354
From: pr
Date: Sun, 14 Mar 2010 12:06
17 lines
1276 bytes
Witam,

Czy w Pythonie (3.1) można zrobić coś takiego (jeden plik):

class A:
  class AA:
    obj = B()


class B:
  class BB:
    obj = A()

A()
B()

?
Technical Details
Message-ID: <9100aa5e-8f93-493a-8e57-23dd86779de2@o3g2000yqb.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!goblin1!goblin.stu.neva.ru!postnews.google.com!o3g2000yqb.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!goblin1!goblin.stu.neva.ru!postnews.google.com!o3g2000yqb.googlegroups.com!not-for-mail
From: pr <cricogik@gmail.com>
Newsgroups: pl.comp.lang.python
Subject: Przestrzeń nazw (?)
Date: Sun, 14 Mar 2010 05:06:00 -0700 (PDT)
Organization: http://groups.google.com
Lines: 17
Message-ID: <9100aa5e-8f93-493a-8e57-23dd86779de2@o3g2000yqb.googlegroups.com>
NNTP-Posting-Host: 81.186.224.2
Mime-Version: 1.0
X-Trace: posting.google.com 1268568361 1838 127.0.0.1 (14 Mar 2010 12:06:01 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 14 Mar 2010 12:06:01 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: o3g2000yqb.googlegroups.com; posting-host=81.186.224.2;  posting-account=0dYzQQoAAADD4mKBs1MFtArJhD70zsVy
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2)  Gecko/20100115 Firefox/3.6,gzip(gfe),gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit