From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Patch: Python mode and eldoc "freeze" Date: Fri, 03 Nov 2006 22:35:01 -0500 Message-ID: <87bqnn28be.fsf@stupidchicken.com> References: <20061103215330.C1BA.SLAWOMIR.NOWACZYK.847@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162611303 1367 80.91.229.2 (4 Nov 2006 03:35:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Nov 2006 03:35:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 04 04:35:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GgCJ8-000313-M9 for ged-emacs-devel@m.gmane.org; Sat, 04 Nov 2006 04:34:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GgCJ7-0000NT-Tk for ged-emacs-devel@m.gmane.org; Fri, 03 Nov 2006 22:34:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GgCIu-0000K6-Rt for emacs-devel@gnu.org; Fri, 03 Nov 2006 22:34:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GgCIq-0000Hk-TE for emacs-devel@gnu.org; Fri, 03 Nov 2006 22:34:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GgCIq-0000HW-OJ for emacs-devel@gnu.org; Fri, 03 Nov 2006 22:34:40 -0500 Original-Received: from [18.19.1.138] (helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GgCIq-0004Js-Na for emacs-devel@gnu.org; Fri, 03 Nov 2006 22:34:40 -0500 Original-Received: by cyd (Postfix, from userid 1000) id 8F6574E43D; Fri, 3 Nov 2006 22:35:01 -0500 (EST) Original-To: Slawomir Nowaczyk In-Reply-To: <20061103215330.C1BA.SLAWOMIR.NOWACZYK.847@student.lu.se> (Slawomir Nowaczyk's message of "Fri\, 03 Nov 2006 22\:11\:02 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61735 Archived-At: Slawomir Nowaczyk writes: > doc = func.__doc__ > if doc.find (' ->') != -1: > print '_emacs_out', doc.split (' ->')[0] > - elif doc.find ('\n') != -1: > - print '_emacs_out', doc.split ('\n')[0] > + print '_emacs_out', doc.split ('\n')[0] > return Won't this print _emacs_out twice?