1 Star 0 Fork 27

caofei/python-werkzeug

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-fix-typo-and-grammar-mistake.patch 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
Bolehu 提交于 2023-01-06 17:33 . fix typo and grammar mistake
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cao-fei8/python-werkzeug.git
git@gitee.com:cao-fei8/python-werkzeug.git
cao-fei8
python-werkzeug
python-werkzeug
master

搜索帮助