Skip to content

Commit 76b09a2

Browse files
committed
httpserver.py: fix typos in docstrings
1 parent f258cde commit 76b09a2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pytest_httpserver/httpserver.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ def thread_target(self):
761761
"""
762762
This method serves as a thread target when the server is started.
763763
764-
This should not be called directly, but can be overriden to tailor it to your needs.
764+
This should not be called directly, but can be overridden to tailor it to your needs.
765765
"""
766766

767767
self.server.serve_forever()
@@ -781,7 +781,7 @@ def start(self):
781781
782782
If the sever is not stopped by the caller and execution reaches the end, the
783783
program needs to be terminated by Ctrl+C or by signal as it will not terminate until
784-
the thred is stopped.
784+
the thread is stopped.
785785
786786
If the sever is already running :py:class:`HTTPServerError` will be raised. If you are
787787
unsure, call :py:meth:`is_running` first.
@@ -803,7 +803,7 @@ def stop(self):
803803
Notifies the server thread about the intention of the stopping, and the thread will
804804
terminate itself. This needs about 0.5 seconds in worst case.
805805
806-
Only a running server can be stopped. If the sever is not runnig, :py:class`HTTPServerError`
806+
Only a running server can be stopped. If the sever is not running, :py:class`HTTPServerError`
807807
will be raised.
808808
"""
809809
if not self.is_running():
@@ -845,7 +845,7 @@ def format_matchers(self) -> str:
845845
This method returns a human-readable string representation of the matchers
846846
registered. You can observe which requests will be served, etc.
847847
848-
This method is primairly used when reporting errors.
848+
This method is primarily used when reporting errors.
849849
"""
850850
def format_handlers(handlers):
851851
if handlers:

0 commit comments

Comments
 (0)