We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31c31a3 commit a47504eCopy full SHA for a47504e
docs/changelog/3456.doc.rst
@@ -0,0 +1 @@
1
+Updates the documentation for ``os.environ['KEY']`` when the variable does not exist - by :user:`jugmac00`.
docs/config.rst
@@ -1635,7 +1635,8 @@ If you specify a substitution string like this::
1635
1636
{env:KEY}
1637
1638
-then the value will be retrieved as ``os.environ['KEY']`` and raise an Error if the environment variable does not exist.
+then the value will be retrieved as ``os.environ['KEY']`` and replaced with an empty string if the environment variable
1639
+does not exist.
1640
1641
1642
Environment variable substitutions with default values
0 commit comments