Skip to content

Commit

Permalink
Merge pull request #4219 from takluyver/drop-argparse
Browse files Browse the repository at this point in the history
Drop bundled argparse
  • Loading branch information
minrk committed Sep 18, 2013
2 parents fb2885f + 45e2dad commit 4147ac5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 2,372 deletions.
2 changes: 1 addition & 1 deletion IPython/config/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
#-----------------------------------------------------------------------------

import __builtin__ as builtin_mod
import argparse
import os
import re
import sys

from IPython.external import argparse
from IPython.utils.path import filefind, get_ipython_dir
from IPython.utils import py3compat, warn
from IPython.utils.encoding import DEFAULT_ENCODING
Expand Down
2 changes: 1 addition & 1 deletion IPython/core/magic_arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ def magic_cool(self, arg):
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
import argparse

# Our own imports
from IPython.external import argparse
from IPython.core.error import UsageError
from IPython.utils.process import arg_split
from IPython.utils.text import dedent
Expand Down
2 changes: 1 addition & 1 deletion IPython/core/tests/test_magic_arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------

import argparse
from nose.tools import assert_equal

from IPython.external import argparse
from IPython.core.magic_arguments import (argument, argument_group, kwds,
magic_arguments, parse_argstring, real_name)

Expand Down
12 changes: 0 additions & 12 deletions IPython/external/argparse/__init__.py

This file was deleted.

0 comments on commit 4147ac5

Please sign in to comment.