Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!news-out.octanews.net!indigo.octanews.net!auth.brown.octanews.com.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.python Subject: Re: [newbie] Looking for a good introduction to object oriented programming with Python References: <54b916fe-9e2d-4f9e-b533-b5ecf677c8a5@a19g2000vba.googlegroups.com> <501f0e4a$0$29867$c3e8da3$5496439d@news.astraweb.com> <501f5f65$0$29867$c3e8da3$5496439d@news.astraweb.com> Date: Mon, 06 Aug 2012 00:25:16 -0700 Message-ID: <7x1ujka3dv.fsf@ruckus.brouhaha.com> Organization: Nightsong/Fort GNOX User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:ggVJkSxduGdTeEeCUerrHbEQwgQ= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 7 NNTP-Posting-Date: 06 Aug 2012 02:25:16 CDT X-Complaints-To: abuse@octanews.net Xref: csiph.com comp.lang.python:26612 Steven D'Aprano writes: >> I suspect), but can't say that I've ever used a "factory function"... > If you've ever used an ordinary function decorator, you almost certainly > have. > If you've every created a closure, you definitely have. Or anything with a __iter__ method...