File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,8 @@ from ``get()`` calls.
313313 my_dir: %(home_dir)s/lumberjack
314314 my_pictures: %(my_dir)s/Pictures
315315
316+ [Escape]
317+ gain: 80%% # use a %% to escape the % sign (% is the only character that needs to be escaped)
316318
317319 In the example above, :class: `ConfigParser ` with *interpolation * set to
318320 ``BasicInterpolation() `` would resolve ``%(home_dir)s `` to the value of
@@ -346,6 +348,9 @@ from ``get()`` calls.
346348 my_dir: ${home_dir}/lumberjack
347349 my_pictures: ${my_dir}/Pictures
348350
351+ [Escape]
352+ cost: $$80 # use a $$ to escape the $ sign ($ is the only character that needs to be escaped)
353+
349354 Values from other sections can be fetched as well:
350355
351356 .. code-block :: ini
You can’t perform that action at this time.
0 commit comments