Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'package,': 0.03; 'received:verizon.net': 0.07; 'terry': 0.07; '(rather': 0.09; 'function:': 0.09; 'parsing': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:method': 0.09; 'has,': 0.16; 'is",': 0.16; 'reedy': 0.16; 'subject:() ': 0.16; 'wrote:': 0.18; '>>>': 0.18; 'string,': 0.18; 'jan': 0.19; 'asked': 0.22; 'header:In-Reply-To:1': 0.22; 'objects,': 0.23; 'though.': 0.23; 'obviously': 0.25; 'pm,': 0.29; 'subject:?': 0.31; 'source': 0.31; 'list': 0.32; 'objects': 0.32; 'sort': 0.33; 'header:User- Agent:1': 0.33; 'header:X-Complaints-To:1': 0.33; 'there': 0.33; 'to:addr:python-list': 0.34; 'someone': 0.34; 'doc': 0.34; 'parse': 0.34; 'something': 0.35; 'supposed': 0.35; 'question': 0.36; 'component': 0.38; 'received:org': 0.38; 'subject:from': 0.38; 'mailing': 0.39; 'to:addr:python.org': 0.40; 'subject': 0.62; '"what': 0.67; 'subject:this': 0.74; 'stream': 0.77; '*does*': 0.84; 'subject:Where': 0.84; 'subject:come': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Where does this readOne() method come from? Date: Wed, 28 Dec 2011 15:41:38 -0500 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-74-109-121-73.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1325104920 news.xs4all.nl 6958 [2001:888:2000:d::a6]:48972 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:18139 On 12/28/2011 2:04 PM, tinnews@isbd.co.uk wrote: > In the (rather sparse) documentation for the vobject package it has, > in the section about parsing iCalendar objects, the following:- > > Parsing iCalendar objects > ========================= > > To parse one top level component from an existing iCalendar stream or > string, use the readOne function: > > >>> parsedCal = vobject.readOne(icalstream) It is obviously supposed to come from the 'vobject' package, whatever that is. I have never heard of vobject before, though. Try reading the source if the doc is limited. Or ask the author or mailing list if there is one. > It sort of feels like "everyone knows what readOne() is", Nope PS You already know the answer to the question you asked in the subject line. Better would have been "What is the vobject.readOne function?" to catch the eye of someone who *does* know something about vobject. -- Terry Jan Reedy