Skip to content

Commit bd66c18

Browse files
minho42takluyver
authored andcommitted
Fix typos (#4760)
* Fix typos * Revert trimming whitespaces * Revert trimming whitespaces * Revert trimming whitespaces * Revert trimming whitespaces * Revert trimming whitespaces
1 parent 5961997 commit bd66c18

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+88
-88
lines changed

docs/source/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ Bug fixes:
995995
- :code:`json_errors` should be outermost decorator on API handlers
996996
- Fix remove old nbserver info files
997997
- Fix notebook mime type on download links
998-
- Fix carriage symbol bahvior
998+
- Fix carriage symbol behavior
999999
- Fix terminal styles
10001000
- Update dead links in docs
10011001
- If kernel is broken, start a new session

docs/source/examples/Notebook/Distributing Jupyter Extensions as Python Packages.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@
439439
" \"name\": \"tarball_bundler\",\n",
440440
" # module containing bundle function\n",
441441
" \"module_name\": \"my_tarball_bundler\",\n",
442-
" # human-redable menu item label\n",
442+
" # human-readable menu item label\n",
443443
" \"label\" : \"Notebook Tarball (tar.gz)\",\n",
444444
" # group under 'deploy' or 'download' menu\n",
445445
" \"group\" : \"download\",\n",

docs/source/extending/bundler_extensions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ when enabling the bundler extension. (See :ref:`enabling-bundlers`.)
3939
"""Example "hello world" bundler extension"""
4040
return [{
4141
'name': 'hello_bundler', # unique bundler name
42-
'label': 'Hello Bundler', # human-redable menu item label
42+
'label': 'Hello Bundler', # human-readable menu item label
4343
'module_name': 'mypackage.hello_bundler', # module containing bundle()
4444
'group': 'deploy' # group under 'deploy' or 'download' menu
4545
}]
@@ -150,7 +150,7 @@ bundlers for single users, configuring bundlers system-wide, etc.
150150
Example: IPython Notebook bundle (.zip)
151151
---------------------------------------
152152

153-
The `hello_bundler` example in this documentation is simplisitic in the name
153+
The `hello_bundler` example in this documentation is simplistic in the name
154154
of brevity. For more meaningful examples, see
155155
`notebook/bundler/zip_bundler.py` and `notebook/bundler/tarball_bundler.py`.
156156
You can enable them to try them like so:

notebook/bundler/tarball_bundler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def _jupyter_bundlerextension_paths():
1212
"name": "tarball_bundler",
1313
# module containing bundle function
1414
"module_name": "notebook.bundler.tarball_bundler",
15-
# human-redable menu item label
15+
# human-readable menu item label
1616
"label" : "Notebook Tarball (tar.gz)",
1717
# group under 'deploy' or 'download' menu
1818
"group" : "download",

notebook/extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _log_format_default(self):
7575
def _get_config_dir(user=False, sys_prefix=False):
7676
"""Get the location of config files for the current context
7777
78-
Returns the string to the enviornment
78+
Returns the string to the environment
7979
8080
Parameters
8181
----------

notebook/i18n/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ communicate this back to Jinja2. So far, I haven't yet figured out how to do th
116116
of languages in the UI ( never a good thing ).
117117

118118
2. We will need to decide if console messages should be translatable, and enable them if desired.
119-
3. The keyboard shorcut editor was implemented after the i18n work was completed, so that portion
119+
3. The keyboard shortcut editor was implemented after the i18n work was completed, so that portion
120120
does not have translation support at this time.
121121
4. Babel's documentation has instructions on how to integrate messages extraction
122122
into your *setup.py* so that eventually we can just do:

notebook/notebookapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ def init_configurables(self):
13661366

13671367
def init_logging(self):
13681368
# This prevents double log messages because tornado use a root logger that
1369-
# self.log is a child of. The logging module dipatches log messages to a log
1369+
# self.log is a child of. The logging module dispatches log messages to a log
13701370
# and all of its ancenstors until propagate is set to False.
13711371
self.log.propagate = False
13721372

notebook/services/contents/fileio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ class FileManagerMixin(Configurable):
192192
"""
193193

194194
use_atomic_writing = Bool(True, config=True, help=
195-
"""By default notebooks are saved on disk on a temporary file and then if succefully written, it replaces the old ones.
196-
This procedure, namely 'atomic_writing', causes some bugs on file system whitout operation order enforcement (like some networked fs).
195+
"""By default notebooks are saved on disk on a temporary file and then if successfully written, it replaces the old ones.
196+
This procedure, namely 'atomic_writing', causes some bugs on file system without operation order enforcement (like some networked fs).
197197
If set to False, the new notebook is written directly on the old one which could fail (eg: full filesystem or quota )""")
198198

199199
@contextmanager

notebook/static/base/js/events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ define(['jquery', 'base/js/namespace'], function($, Jupyter) {
1818
window._events = new window._Events();
1919
}
2020

21-
// Backwards compatability.
21+
// Backwards compatibility.
2222
Jupyter.Events = window._Events;
2323
Jupyter.events = window._events;
2424

notebook/static/base/js/keyboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ define([
384384
} else {
385385
if(typeof(current_node) === 'string'){
386386
console.warn('you are trying to set a shortcut that will be shadowed'+
387-
'by a more specific one. Aborting for :', action_name, 'the follwing '+
387+
'by a more specific one. Aborting for :', action_name, 'the following '+
388388
'will take precedence', current_node);
389389
return false;
390390
} else {
@@ -494,7 +494,7 @@ define([
494494

495495
ShortcutManager.prototype.remove_shortcut = function (shortcut, suppress_help_update) {
496496
/**
497-
* Remove the binding of shortcut `sortcut` with its action.
497+
* Remove the binding of shortcut `shortcut` with its action.
498498
* throw an error if trying to remove a non-exiting shortcut
499499
**/
500500
if(!shortcut){

0 commit comments

Comments
 (0)