Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

? at end of comment causes line to execute #3856

Closed
ohadle opened this issue Jul 31, 2013 · 1 comment
Closed

? at end of comment causes line to execute #3856

ohadle opened this issue Jul 31, 2013 · 1 comment
Milestone

Comments

@ohadle
Copy link

ohadle commented Jul 31, 2013

when I %paste this function:

def foo():
    '''
    something
    '''

    a['bar'] #comment?

I get

Object `a` not found.

(The line seems to run). When I remove the ? at the end of the comment all is good.

Using IPython 0.13.2, python 2.7.5.

@takluyver
Copy link
Member

It seems to be working in master, so I'll close this. We can reopen it if it can be reproduced in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants