Skip to content

Commit

Permalink
Fix docs/staticfiles.md wrong signature (encode#2095)
Browse files Browse the repository at this point in the history
Co-authored-by: Jiayang Sun <sjyhehe@gmail.com>
  • Loading branch information
NoPointExc and NoPointExc committed Mar 28, 2023
1 parent 62b5b60 commit bc90057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/staticfiles.md
Expand Up @@ -3,7 +3,7 @@ Starlette also includes a `StaticFiles` class for serving files in a given direc

### StaticFiles

Signature: `StaticFiles(directory=None, packages=None, check_dir=True, follow_symlink=False)`
Signature: `StaticFiles(directory=None, packages=None, html=False, check_dir=True, follow_symlink=False)`

* `directory` - A string or [os.Pathlike][pathlike] denoting a directory path.
* `packages` - A list of strings or list of tuples of strings of python packages.
Expand Down

0 comments on commit bc90057

Please sign in to comment.