mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[3.9] fix typo in warning (GH-20620) (#25601)
* 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
(cherry picked from commit a31cf86bc2)
Co-authored-by: Allen <64019758+aboddie@users.noreply.github.com>
This commit is contained in:
parent
2825f906c7
commit
d2e2534751
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue