[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: Python mode and eldoc "freeze"
From: |
Chong Yidong |
Subject: |
Re: Patch: Python mode and eldoc "freeze" |
Date: |
Fri, 03 Nov 2006 22:35:01 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
Slawomir Nowaczyk <address@hidden> 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?