Skip to content

Remove implicit dependency to ipython_genutils. #11317

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

Merged
merged 1 commit into from
Oct 13, 2018

Conversation

Carreau
Copy link
Member

@Carreau Carreau commented Sep 15, 2018

This was installed because we rely on traitlets.

indent behavior is slightly different in the sens that white lines
may not have the same number of whitespace.

This was installed because we rely on traitlets.

`indent` behavior is _slightly_ different in the sens that white lines
may not have the same number of whitespace.
@Carreau Carreau added this to the 7.1 milestone Sep 16, 2018
@Carreau Carreau merged commit 1dc2c97 into ipython:master Oct 13, 2018
@Carreau Carreau deleted the no-genutils branch October 13, 2018 15:58
@Carreau Carreau added Hacktoberfest you want to participate to hacktoberfest ? Here is an easy issue. and removed Hacktoberfest you want to participate to hacktoberfest ? Here is an easy issue. labels Oct 13, 2018
import textwrap
indent = lambda text,n: textwrap.indent(text,n*' ')

def dedent(text):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this not just inspect.cleandoc?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like it, do you want to make a PR?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done in #11461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest you want to participate to hacktoberfest ? Here is an easy issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants