From 68e177017327a85937a5085a7adbed8996e81b53 Mon Sep 17 00:00:00 2001 From: Labib-Bin-Salam Date: Thu, 11 Jun 2026 16:09:42 +0100 Subject: [PATCH] Fix typos in docs and an app docstring - docs/tutorials/installation.rst: dependends -> depends - docs/tutorials/blog_tutorial.rst: verically -> vertically - docs/reference/versioning.rst: happended -> happened; "is rare" -> "in rare" - src/quart/app.py: Warpper -> Wrapper; "to user" -> "to use" (Quart docstring) --- docs/reference/versioning.rst | 4 ++-- docs/tutorials/blog_tutorial.rst | 2 +- docs/tutorials/installation.rst | 2 +- src/quart/app.py | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/reference/versioning.rst b/docs/reference/versioning.rst index 1dd37aa4..91d838fd 100644 --- a/docs/reference/versioning.rst +++ b/docs/reference/versioning.rst @@ -18,6 +18,6 @@ Python versions --------------- Quart will support Python versions until they reach end of life. This -may, is rare circumstances be achieved by bug fixes to a specific -release branch i.e. no new features. This happended with Python 3.6 +may, in rare circumstances be achieved by bug fixes to a specific +release branch i.e. no new features. This happened with Python 3.6 and the Quart 0.5.X releases. diff --git a/docs/tutorials/blog_tutorial.rst b/docs/tutorials/blog_tutorial.rst index 667f7e95..d102a98a 100644 --- a/docs/tutorials/blog_tutorial.rst +++ b/docs/tutorials/blog_tutorial.rst @@ -207,7 +207,7 @@ be added to *src/blog/templates/create.html*: The styling ensures that the elements of the form are arranged -verically with a gap and sensible maximum width. +vertically with a gap and sensible maximum width. To allow a visitor to create a blog post we need to accept the POST request generated by this form in the browser. To do so the following diff --git a/docs/tutorials/installation.rst b/docs/tutorials/installation.rst index c5fafd8a..77e4df2a 100644 --- a/docs/tutorials/installation.rst +++ b/docs/tutorials/installation.rst @@ -13,7 +13,7 @@ using pip or your favorite python package manager: Dependencies ------------ -Quart dependends on the following packages, which will automatically +Quart depends on the following packages, which will automatically be installed with Quart: - aiofiles, to load files in an asyncio compatible manner, diff --git a/src/quart/app.py b/src/quart/app.py index 7ebda173..cabd9b2a 100644 --- a/src/quart/app.py +++ b/src/quart/app.py @@ -200,8 +200,8 @@ class Quart(App): PERMANENT_SESSION_LIFETIME value. Specifies how long the session data should survive. request_class: The class to use for requests. - response_class: The class to user for responses. - secret_key: Warpper around configuration SECRET_KEY value. The app + response_class: The class to use for responses. + secret_key: Wrapper around configuration SECRET_KEY value. The app secret for signing sessions. session_interface: The class to use as the session interface. shutdown_event: This event is set when the app starts to