From 37f6adb15978e5da4e3f1e94f4a7a46707f4f8ce Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 23 Jul 2022 09:12:46 +1000 Subject: [PATCH] docs: Fix a few typos (#4889) There are small typos in: - docs/python_virtual_environments.rst - setup.py - xonsh/procs/specs.py - xontrib/abbrevs.py Fixes: - Should read `interpreter` rather than `intrepreter`. - Should read `dictionary` rather than `disctionary`. - Should read `descriptors` rather than `descriptiors`. - Should read `because` rather than `becuase`. Signed-off-by: Tim Gates --- docs/python_virtual_environments.rst | 2 +- setup.py | 2 +- xonsh/procs/specs.py | 2 +- xontrib/abbrevs.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/python_virtual_environments.rst b/docs/python_virtual_environments.rst index debb2b0e0..d1b5eb26c 100644 --- a/docs/python_virtual_environments.rst +++ b/docs/python_virtual_environments.rst @@ -31,7 +31,7 @@ You may also set the interpreter used to create the virtual environment by passi Under the hood, vox uses Python 3's ``venv`` module to create Python 3 virtualenvs. [this is the default] -If a Python 2 intrepreter is chosen, it will use the Python 2 interpreter's ``virtualenv`` module. +If a Python 2 interpreter is chosen, it will use the Python 2 interpreter's ``virtualenv`` module. By default, environments are stored in ``~/.virtualenvs``, but you can override it by setting the ``$VIRTUALENV_HOME`` environment variable. diff --git a/setup.py b/setup.py index d127ac97b..22b5ab561 100755 --- a/setup.py +++ b/setup.py @@ -139,7 +139,7 @@ class xbuild_py(build_py): class xbdist(bdist_wheel): def initialize_options(self): super().initialize_options() - # becuase XonshParser will be build for each minor python version, we need separate builds + # because XonshParser will be build for each minor python version, we need separate builds self.python_tag = python_tag() diff --git a/xonsh/procs/specs.py b/xonsh/procs/specs.py index 4d4cb783d..f19636909 100644 --- a/xonsh/procs/specs.py +++ b/xonsh/procs/specs.py @@ -301,7 +301,7 @@ class SubprocSpec: universal_newlines : bool Whether or not to use universal newlines. close_fds : bool - Whether or not to close the file descriptiors when the + Whether or not to close the file descriptors when the process exits. captured : bool or str, optional The flag for if the subprocess is captured, may be one of: diff --git a/xontrib/abbrevs.py b/xontrib/abbrevs.py index bf7160bd6..2e7fefab1 100644 --- a/xontrib/abbrevs.py +++ b/xontrib/abbrevs.py @@ -1,7 +1,7 @@ """ Command abbreviations. -This expands input words from `abbrevs` disctionary as you type. +This expands input words from `abbrevs` dictionary as you type. Adds ``abbrevs`` dictionary to hold user-defined "command abbreviations. The dictionary is searched as you type the matching words are replaced at the command line by the corresponding dictionary contents once you hit