Fix spelling

This commit is contained in:
Florian Bruhin 2022-03-31 21:07:24 +02:00
parent ecf63880dc
commit 8a69226912
2 changed files with 4 additions and 4 deletions

View File

@ -1943,7 +1943,7 @@ This acts like readline's end-of-line.
=== rl-filename-rubout
Delete backwards using the OS path separator as boundary.
For behavior that matches readline's `unix-filename-rubout` exactly, use `:rl-rubout "/ "` instead. This command uses the OS path seperator (i.e. `\` on Windows) and ignores spaces.
For behavior that matches readline's `unix-filename-rubout` exactly, use `:rl-rubout "/ "` instead. This command uses the OS path separator (i.e. `\` on Windows) and ignores spaces.
[[rl-forward-char]]
=== rl-forward-char
@ -1975,7 +1975,7 @@ Syntax: +:rl-rubout 'delim'+
Delete backwards using the given characters as boundaries.
With " ", this acts like readline's `unix-word-rubout`. With " /", this acts like readline's `unix-filename-rubout`, but consider using `:rl-filename-rubout` instead: It uses the OS path seperator (i.e. `\` on Windows) and ignores spaces.
With " ", this acts like readline's `unix-word-rubout`. With " /", this acts like readline's `unix-filename-rubout`, but consider using `:rl-filename-rubout` instead: It uses the OS path separator (i.e. `\` on Windows) and ignores spaces.
==== positional arguments
* +'delim'+: A string of characters (or a single character) until which text will be deleted.

View File

@ -295,7 +295,7 @@ def rl_rubout(delim: str) -> None:
With " ", this acts like readline's `unix-word-rubout`.
With " /", this acts like readline's `unix-filename-rubout`, but consider
using `:rl-filename-rubout` instead: It uses the OS path seperator (i.e. `\`
using `:rl-filename-rubout` instead: It uses the OS path separator (i.e. `\`
on Windows) and ignores spaces.
Args:
@ -310,7 +310,7 @@ def rl_filename_rubout() -> None:
r"""Delete backwards using the OS path separator as boundary.
For behavior that matches readline's `unix-filename-rubout` exactly, use
`:rl-rubout "/ "` instead. This command uses the OS path seperator (i.e.
`:rl-rubout "/ "` instead. This command uses the OS path separator (i.e.
`\` on Windows) and ignores spaces.
"""
bridge.rubout(os.sep)