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

IPython sphinx directive promptin requires linenumber #11632

Open
MatthewFlamm opened this issue Mar 6, 2019 · 0 comments
Open

IPython sphinx directive promptin requires linenumber #11632

MatthewFlamm opened this issue Mar 6, 2019 · 0 comments

Comments

@MatthewFlamm
Copy link

Can we remove the requirement for %d to be specified in ipython_promptin? I assume this also applies to ipython_promptout as well although I haven't tested it.

I'm not sure, but it seems like it should be a simple fix in the code to replace promptin % lineno in several parts of the script with a check for %d in promptin. If there is %d, use the current code, if there isn't just use promptin.

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

1 participant