Skip to content

Commit a31cf86

Browse files
authored
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
1 parent a89d8a9 commit a31cf86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/zoneinfo/_tzpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def _parse_python_tzpath(env_var):
4242
msg = _get_invalid_paths_message(raw_tzpath)
4343

4444
warnings.warn(
45-
"Invalid paths specified in PYTHONTZPATH environment variable."
45+
"Invalid paths specified in PYTHONTZPATH environment variable. "
4646
+ msg,
4747
InvalidTZPathWarning,
4848
)

0 commit comments

Comments
 (0)