File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -121,11 +121,14 @@ Compile-time configuration
121
121
122
122
The default :data: `TZPATH ` includes several common deployment locations for the
123
123
time zone database (except on Windows, where there are no "well-known"
124
- locations for time zone data). Downstream distributors and those building
125
- Python from source who know where their system time zone data is deployed may
126
- change the default time zone path by specifying the compile-time option
127
- ``PYTHONTZPATHDEFAULT ``, which should be a string delimited by
128
- :data: `os.pathsep `.
124
+ locations for time zone data). On POSIX systems, downstream distributors and
125
+ those building Python from source who know where their system
126
+ time zone data is deployed may change the default time zone path by specifying
127
+ the compile-time option ``TZPATH `` (or, more likely, the ``configure `` flag
128
+ ``--with-tzpath ``), which should be a string delimited by :data: `os.pathsep `.
129
+
130
+ On all platforms, the configured value is available as the ``TZPATH `` key in
131
+ :func: `sysconfig.get_config_var `.
129
132
130
133
.. _zoneinfo_data_environment_var :
131
134
You can’t perform that action at this time.
0 commit comments