Skip to content

Commit

Permalink
Merge pull request #372 from BioGeek/typo-fixes
Browse files Browse the repository at this point in the history
Typo fixes
  • Loading branch information
peterdesmet authored Dec 14, 2023
2 parents 02ce572 + 226fe17 commit 3860042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/httpserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def ServeDirectoryWithHTTP(directory="."):
The server serves files from the given *directory*. The port listening on
will automatically be picked by the operating system to avoid race
conditions when trying to bind to an open port that turns out not to be
free afterall. The hostname is always "localhost".
free after all. The hostname is always "localhost".
Parameters
----------
Expand All @@ -33,7 +33,7 @@ def ServeDirectoryWithHTTP(directory="."):
The HTTP server which is serving files from a separate thread.
It is not super necessary but you might want to call shutdown() on the
returned HTTP server object. This will stop the inifinite request loop
returned HTTP server object. This will stop the infinite request loop
running in the thread which in turn will then exit. The reason why this
is only optional is that the thread in which the server runs is a daemon
thread which will be terminated when the main thread ends.
Expand Down

0 comments on commit 3860042

Please sign in to comment.