Fixed typos in comments spotted in code review

This commit is contained in:
Richard Bowman 2023-03-23 13:31:25 +00:00
parent d948d3f04d
commit 3f9c3447de
2 changed files with 4 additions and 4 deletions

View file

@ -543,7 +543,7 @@ class AutofocusExtension(BaseExtension):
"delay": fields.Int( "delay": fields.Int(
load_default=5, load_default=5,
metadata={ metadata={
"description": "How long to measure sharpness for after the move", "description": "How long to measure sharpness for after the move, in seconds",
"example": 5, "example": 5,
}, },
), ),
@ -582,7 +582,7 @@ class AutofocusExtension(BaseExtension):
"initial_move_up": fields.Bool( "initial_move_up": fields.Bool(
load_default=True, load_default=True,
metadata={ metadata={
"description": "Set to Flase to disable the initial move upwards" "description": "Set to False to disable the initial move upwards"
}, },
), ),
"backlash": fields.Int( "backlash": fields.Int(

View file

@ -9,7 +9,7 @@ API_TAGS = [
), ),
"externalDocs": { "externalDocs": {
"url": "https://www.w3.org/TR/wot-thing-description/#actionaffordance", "url": "https://www.w3.org/TR/wot-thing-description/#actionaffordance",
"description": "w3's description of Web of Things 'Action' resources.", "description": "W3C's description of Web of Things 'Action' resources.",
}, },
}, },
{ {
@ -20,7 +20,7 @@ API_TAGS = [
), ),
"externalDocs": { "externalDocs": {
"url": "https://www.w3.org/TR/wot-thing-description/#propertyaffordance", "url": "https://www.w3.org/TR/wot-thing-description/#propertyaffordance",
"description": "w3's description of Web of Things 'Property' resources.", "description": "W3C's description of Web of Things 'Property' resources.",
}, },
}, },
{"name": "captures", "description": ""}, {"name": "captures", "description": ""},