Skip to content

Commit 30baf44

Browse files
authored
fix docstring typo (#3012)
2 parents 5d79f1a + ce0ea87 commit 30baf44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/werkzeug/wrappers/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def files(self) -> ImmutableMultiDict[str, FileStorage]:
499499

500500
@property
501501
def script_root(self) -> str:
502-
"""Alias for :attr:`self.root_path`. ``environ["SCRIPT_ROOT"]``
502+
"""Alias for :attr:`self.root_path`. ``environ["SCRIPT_NAME"]``
503503
without a trailing slash.
504504
"""
505505
return self.root_path

0 commit comments

Comments
 (0)