Fix typos discovered by codespell

This commit is contained in:
Christian Clauss
2021-09-08 02:15:25 +02:00
parent 336605b8e4
commit 86583c578c
37 changed files with 59 additions and 59 deletions

View File

@@ -6,7 +6,7 @@ SENTINEL = object()
def foo(name: str = CONSTANT,
sentinal: Any = SENTINEL,
sentinel: Any = SENTINEL,
now: datetime = datetime.now()) -> None:
"""docstring"""
@@ -14,6 +14,6 @@ def foo(name: str = CONSTANT,
class Class:
"""docstring"""
def meth(self, name: str = CONSTANT, sentinal: Any = SENTINEL,
def meth(self, name: str = CONSTANT, sentinel: Any = SENTINEL,
now: datetime = datetime.now()) -> None:
"""docstring"""

View File

@@ -103,7 +103,7 @@ Javascript items
.. js:function:: bar.baz(href, callback[, errback])
:param string href: The location of the resource.
:param callback: Get's called with the data returned by the resource.
:param callback: Gets called with the data returned by the resource.
:throws InvalidHref: If the `href` is invalid.
:returns: `undefined`

View File

@@ -32,7 +32,7 @@ footnotes in table
:header-rows: 1
* - name [#]_
- desription
- description
* - VIDIOC_CROPCAP
- Information about VIDIOC_CROPCAP [#]_

View File

@@ -129,7 +129,7 @@ Javascript items
.. js:function:: bar.baz(href, callback[, errback])
:param string href: The location of the resource.
:param callback: Get's called with the data returned by the resource.
:param callback: Gets called with the data returned by the resource.
:throws InvalidHref: If the `href` is invalid.
:returns: `undefined`