Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; '"""': 0.07; 'cc:addr :python-list': 0.11; 'def': 0.12; 'file-like': 0.16; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:programming': 0.16; 'wrote:': 0.18; 'meant': 0.20; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'there,': 0.34; 'received:google.com': 0.35; 'object,': 0.36; 'ben': 0.38; 'sure': 0.39; 'read': 0.60; 'times': 0.62; 'real': 0.63; 'mar': 0.68; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=b1XQiKJpeVazMNqIjTKVUIYVXks2ibRkfthe69gPs7A=; b=KUVwULSWJFAn6+ZNUlxA1rikuouZle6A4n68VTRJUaeTfl1aLRLLYa4SkUqIJY1t+5 41U5igw/9tRHHLC+SQBdLl4u+lMgV8r5wnRJvs41/iG0KIGOb7UC5vZp0+vonU3i8lL+ PJA8+veGOqYPPTXuOlWuDoXU+7RzJzJ4Bqdp7xr1ylY/iQBL2Z2Z2zsjiwoImYt/+cfo OLYZ7rAKOCtFM3zwuIirGlDjw549RSR5dC3Xyr46KotXg+B3pfL2z1B17SvFpNKpGJjg JJtVeceKuqhIc8Rj6olpDmiZydgQhf2gptkLtq4rKSqlOYdRjgwguDknbcREImWjV8pA aOaQ== MIME-Version: 1.0 X-Received: by 10.68.247.6 with SMTP id ya6mr21987598pbc.45.1393886523805; Mon, 03 Mar 2014 14:42:03 -0800 (PST) In-Reply-To: <854n3ej4mj.fsf@benfinney.id.au> References: <4c7dbc57-eef9-4582-aecd-aac13a39b45f@googlegroups.com> <3b54a279-03a1-4a81-a428-ecad6eb16036@googlegroups.com> <216bb5f4-32c4-4f86-a9f4-1b0dd37a2a81@googlegroups.com> <0129a5b9-b85f-4ad5-b5e2-bfb2a48041d5@googlegroups.com> <5314bb96$0$29985$c3e8da3$5496439d@news.astraweb.com> <854n3ej4mj.fsf@benfinney.id.au> Date: Tue, 4 Mar 2014 09:42:03 +1100 Subject: Re: Functional programming From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393886527 news.xs4all.nl 2839 [2001:888:2000:d::a6]:58097 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:67608 On Tue, Mar 4, 2014 at 9:31 AM, Ben Finney wrote: > def frobnicate(flang, splets, queeble=False): > """ Righteously frobnicate the flang. > > :param flang: A file-like object, opened for reading. I had to read that a few times before I was sure that you actually meant "file" there, you used a real word with its real meaning! ChrisA