Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion rope-show-doc cannot show if, try, ....
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jamespo  
View profile  
 More options Feb 4 2012, 5:38 pm
From: jamespo <jame...@gmail.com>
Date: Sat, 4 Feb 2012 14:38:00 -0800 (PST)
Subject: Re: rope-show-doc cannot show if, try, ....

On Jan 3, 5:23 am, Ali Gholami Rudi <aligr...@gmail.com> wrote:

> Hi Leo,

> Leo <sdl....@gmail.com> wrote:
> > rope-show-doc cannot show docs for if, try, ...

> > but, for example, `pydoc if' in a terminal prints:

> > ,----
> > | The ``if`` statement
> > | ********************
> > |
> > | The ``if`` statement is used for conditional execution:
> > |
> > |    if_stmt ::= "if" expression ":" suite
> > |                ( "elif" expression ":" suite )*
> > |                ["else" ":" suite]
> > |
> > | It selects exactly one of the suites by evaluating the expressions one
> > | by one until one is found to be true (see section *Boolean operations*
> > | for the definition of true and false); then that suite is executed
> > | (and no other part of the ``if`` statement is executed or evaluated).
> > | If all expressions are false, the suite of the ``else`` clause, if
> > | present, is executed.
> > `----

> > Bug?

> Rope tries to find the pydocs of objects only.  So that's expected.
> But supporting it seems straightforward (see get_doc() in
> rope/contrib/codeassist.py)

>         Ali

I'd love this feature too... unfortunately I don't know python well
enough to implement it.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.