40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
From 60e83271dce5cc019dbfc0935052da0904a5d425 Mon Sep 17 00:00:00 2001
|
|
From: Hongkuan Wang <hongkuan.wang@aalto.fi>
|
|
Date: Wed, 22 Sep 2021 22:13:48 +0800
|
|
Subject: [PATCH] fix typo and grammar mistake
|
|
|
|
---
|
|
src/werkzeug/filesystem.py | 2 +-
|
|
src/werkzeug/test.py | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/werkzeug/filesystem.py b/src/werkzeug/filesystem.py
|
|
index 36a3d12e..16eb5861 100644
|
|
--- a/src/werkzeug/filesystem.py
|
|
+++ b/src/werkzeug/filesystem.py
|
|
@@ -37,7 +37,7 @@ def get_filesystem_encoding() -> str:
|
|
because it might be different. See :ref:`filesystem-encoding` for the exact
|
|
behavior.
|
|
|
|
- The concept of a filesystem encoding in generally is not something you
|
|
+ The concept of a filesystem encoding in general is not something you
|
|
should rely on. As such if you ever need to use this function except for
|
|
writing wrapper code reconsider.
|
|
"""
|
|
diff --git a/src/werkzeug/test.py b/src/werkzeug/test.py
|
|
index d0ce6f95..7ee27477 100644
|
|
--- a/src/werkzeug/test.py
|
|
+++ b/src/werkzeug/test.py
|
|
@@ -322,7 +322,7 @@ class EnvironBuilder:
|
|
|
|
.. versionadded:: 0.15
|
|
The environ has keys ``REQUEST_URI`` and ``RAW_URI`` containing
|
|
- the path before perecent-decoding. This is not part of the WSGI
|
|
+ the path before percent-decoding. This is not part of the WSGI
|
|
PEP, but many WSGI servers include it.
|
|
|
|
.. versionchanged:: 0.6
|
|
--
|
|
2.33.0
|
|
|