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

core.completer: Clean up excessive and unused code. #1175

Merged
merged 1 commit into from Dec 27, 2011

Conversation

bfroehle
Copy link
Contributor

  • mark_dirs is only called from one location and it is more simply
    expressed as a one-liner using the ternary operator.
  • single_dir_expand is not called from anywhere in IPython.

- `mark_dirs` is only called from one location and it is more simply
  expressed as a one-liner using the ternary operator.
- `single_dir_expand` is not called from anywhere in IPython.
@minrk
Copy link
Member

minrk commented Dec 27, 2011

This looks clean and sensible, thanks!

minrk added a commit that referenced this pull request Dec 27, 2011
* remove mark_dirs, which can be expressed as list comprehension.
* remove single_dir_expand, which is no longer used anywhere.
@minrk minrk merged commit 3cda5da into ipython:master Dec 27, 2011
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
* remove mark_dirs, which can be expressed as list comprehension.
* remove single_dir_expand, which is no longer used anywhere.
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

Successfully merging this pull request may close these issues.

None yet

2 participants