summaryrefslogtreecommitdiffstats
path: root/Lib/zoneinfo
diff options
context:
space:
mode:
authorAllen <64019758+aboddie@users.noreply.github.com>2021-04-25 17:45:05 (GMT)
committerGitHub <noreply@github.com>2021-04-25 17:45:05 (GMT)
commita31cf86bc2d9c0738b2a0251af766d6b247683fc (patch)
tree287ec43740688acf6f0d0c19690caddb56570b01 /Lib/zoneinfo
parenta89d8a94a0dd0bd45349efad6d5ad68641f4ff9a (diff)
downloadcpython-a31cf86bc2d9c0738b2a0251af766d6b247683fc.zip
cpython-a31cf86bc2d9c0738b2a0251af766d6b247683fc.tar.gz
cpython-a31cf86bc2d9c0738b2a0251af766d6b247683fc.tar.bz2
fix typo in warning (#20620)
* Add space after period to warning in _tzpath.py Currently: InvalidTZPathWarning: Invalid paths specified in PYTHONTZPATH environment variable.Paths should be absolute but found the following relative paths: ... * Update _tzpath.py
Diffstat (limited to 'Lib/zoneinfo')
-rw-r--r--Lib/zoneinfo/_tzpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/zoneinfo/_tzpath.py b/Lib/zoneinfo/_tzpath.py
index 9513611..672560b 100644
--- a/Lib/zoneinfo/_tzpath.py
+++ b/Lib/zoneinfo/_tzpath.py
@@ -42,7 +42,7 @@ def _parse_python_tzpath(env_var):
msg = _get_invalid_paths_message(raw_tzpath)
warnings.warn(
- "Invalid paths specified in PYTHONTZPATH environment variable."
+ "Invalid paths specified in PYTHONTZPATH environment variable. "
+ msg,
InvalidTZPathWarning,
)