From 609f248e7ee650c984cdad48c2f33c6b032404ae 2018-03-29 17:25:00 From: luz.paz Date: 2018-03-29 17:25:00 Subject: [PATCH] Misc. typos Found via `codespell -q 3` --- diff --git a/IPython/core/completer.py b/IPython/core/completer.py index 2b8edc2..41aff39 100644 --- a/IPython/core/completer.py +++ b/IPython/core/completer.py @@ -683,7 +683,7 @@ class Completer(Configurable): Assuming the text is of the form NAME.NAME....[NAME], and is evaluatable in self.namespace or self.global_namespace, it will be evaluated and its attributes (as revealed by dir()) are used as - possible completions. (For class instances, class members are are + possible completions. (For class instances, class members are also considered.) WARNING: this can still invoke arbitrary C code, if an object @@ -949,7 +949,7 @@ def _formatparamchildren(parameter) -> str: Jedi does not expose a simple way to get `param=value` from its API. - Prameter + Parameter ======== parameter: diff --git a/docs/source/interactive/plotting.rst b/docs/source/interactive/plotting.rst index 2bf67b4..f473bd0 100644 --- a/docs/source/interactive/plotting.rst +++ b/docs/source/interactive/plotting.rst @@ -11,7 +11,7 @@ In order for this to be possible, you need to use the ``display()`` function, that should be available by default on IPython 5.4+ and 6.1+, or that you can import with ``from IPython.display import display``. Then use ``display()`` instead of ``print()``, and if possible your object will be displayed -with a richer representation. In the terminal of course, there wont be much +with a richer representation. In the terminal of course, there won't be much difference as object are most of the time represented by text, but in notebook and similar interface you will get richer outputs. diff --git a/docs/source/whatsnew/github-stats-0.11.rst b/docs/source/whatsnew/github-stats-0.11.rst index 788abdb..2f647ce 100644 --- a/docs/source/whatsnew/github-stats-0.11.rst +++ b/docs/source/whatsnew/github-stats-0.11.rst @@ -384,7 +384,7 @@ Regular issues (285): * `326 `_: Update docs and examples for parallel stuff to reflect movement away from Twisted * `341 `_: FIx Parallel Magics for newparallel * `338 `_: Usability improvements to Qt console -* `142 `_: unexpected auto-indenting when varibles names that start with 'pass' +* `142 `_: unexpected auto-indenting when variables names that start with 'pass' * `296 `_: Automatic PDB via %pdb doesn't work * `337 `_: exit( and quit( in Qt console produces phantom signature/docstring popup, even though quit() or exit() raises NameError * `318 `_: %debug broken in master: invokes missing save_history() method diff --git a/docs/source/whatsnew/github-stats-1.0.rst b/docs/source/whatsnew/github-stats-1.0.rst index 41e8174..03622ec 100644 --- a/docs/source/whatsnew/github-stats-1.0.rst +++ b/docs/source/whatsnew/github-stats-1.0.rst @@ -580,7 +580,7 @@ Pull Requests (793): * :ghpull:`3576`: Added support for markdown in heading cells when they are nbconverted. * :ghpull:`3575`: tweak `run -d` message to 'continue execution' * :ghpull:`3569`: add PYTHONSTARTUP to startup files -* :ghpull:`3567`: Trigger a single event on js app initilized +* :ghpull:`3567`: Trigger a single event on js app initialized * :ghpull:`3565`: style.min.css should always exist... * :ghpull:`3531`: allow markdown in heading cells * :ghpull:`3577`: Simplify codemirror ipython-mode @@ -1195,7 +1195,7 @@ Issues (691): * :ghissue:`3957`: Notebook help page broken in Firefox * :ghissue:`3894`: nbconvert test failure * :ghissue:`3887`: 1.0.0a1 shows blank screen in both firefox and chrome (windows 7) -* :ghissue:`3703`: `nbconvert`: Output options -- names and documentataion +* :ghissue:`3703`: `nbconvert`: Output options -- names and documentation * :ghissue:`3931`: Tab completion not working during debugging in the notebook * :ghissue:`3936`: Ipcluster plugin is not working with Ipython 1.0dev * :ghissue:`3941`: IPython Notebook kernel crash on Win7x64 @@ -1264,7 +1264,7 @@ Issues (691): * :ghissue:`3737`: ipython nbconvert crashes with ValueError: Invalid format string. * :ghissue:`3730`: nbconvert: unhelpful error when pandoc isn't installed * :ghissue:`3718`: markdown cell cursor misaligned in notebook -* :ghissue:`3710`: mutiple input fields for %debug in the notebook after resetting the kernel +* :ghissue:`3710`: multiple input fields for %debug in the notebook after resetting the kernel * :ghissue:`3713`: PyCharm has problems with IPython working inside PyPy created by virtualenv * :ghissue:`3712`: Code completion: Complete on dictionary keys * :ghissue:`3680`: --pylab and --matplotlib flag @@ -1405,7 +1405,7 @@ Issues (691): * :ghissue:`3519`: IPython Parallel map mysteriously turns pandas Series into numpy ndarray * :ghissue:`3345`: IPython embedded shells ask if I want to exit, but I set confirm_exit = False * :ghissue:`3509`: IPython won't close without asking "Are you sure?" in Firefox -* :ghissue:`3471`: Notebook jinja2/markupsafe depedencies in manual +* :ghissue:`3471`: Notebook jinja2/markupsafe dependencies in manual * :ghissue:`3502`: Notebook broken in master * :ghissue:`3302`: autoreload does not work in ipython 0.13.x, python 3.3 * :ghissue:`3475`: no warning when leaving/closing notebook on master without saved changes @@ -1477,7 +1477,7 @@ Issues (691): * :ghissue:`3380`: simple call to kernel * :ghissue:`3379`: TaskRecord key 'started' not set * :ghissue:`3241`: notebook connection time out -* :ghissue:`3334`: magic interpreter interpretes non magic commands? +* :ghissue:`3334`: magic interpreter interprets non magic commands? * :ghissue:`3326`: python3.3: Type error when launching SGE cluster in IPython notebook * :ghissue:`3349`: pip3 doesn't run 2to3? * :ghissue:`3347`: Longlist support in ipdb diff --git a/docs/source/whatsnew/version0.12.rst b/docs/source/whatsnew/version0.12.rst index 1d8a2db..5d27504 100644 --- a/docs/source/whatsnew/version0.12.rst +++ b/docs/source/whatsnew/version0.12.rst @@ -293,7 +293,7 @@ Backwards incompatible changes deprecated, but continue to work. * For embedding a shell, note that the parameters ``user_global_ns`` and - ``global_ns`` have been deprectated in favour of ``user_module`` and + ``global_ns`` have been deprecated in favour of ``user_module`` and ``module`` respsectively. The new parameters expect a module-like object, rather than a namespace dict. The old parameters remain for backwards compatibility, although ``user_global_ns`` is now ignored. The ``user_ns`` diff --git a/setupext/install_data_ext.py b/setupext/install_data_ext.py index f2ce894..ce6623b 100644 --- a/setupext/install_data_ext.py +++ b/setupext/install_data_ext.py @@ -65,7 +65,7 @@ class install_data_ext(install_data): files = lof[2] if len(files) == 0: # If there are no files listed, the user must be - # trying to create an empty directory, so add the the + # trying to create an empty directory, so add the # directory to the list of output files. self.outfiles.append(dir) else: