diff options
author | Brett Cannon <brett@python.org> | 2022-04-21 19:28:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-21 19:28:34 -0700 |
commit | 2551a6c92f247eed8121b14f151acd95432dff9e (patch) | |
tree | e577a3c06b055b3389f03e44c0020f5ab811a782 /Lib/pipes.py | |
parent | 29afb7d2efed6ee48a67dafdc1a1f34dd60153cf (diff) | |
download | cpython-git-2551a6c92f247eed8121b14f151acd95432dff9e.tar.gz |
gh-91217: deprecate-pipes (GH-91779)
Diffstat (limited to 'Lib/pipes.py')
-rw-r--r-- | Lib/pipes.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/pipes.py b/Lib/pipes.py index 8cc74b0f1f..61d63b48d3 100644 --- a/Lib/pipes.py +++ b/Lib/pipes.py @@ -60,10 +60,13 @@ To create a new template object initialized to a given one: import re import os import tempfile +import warnings # we import the quote function rather than the module for backward compat # (quote used to be an undocumented but used function in pipes) from shlex import quote +warnings._deprecated(__name__, remove=(3, 13)) + __all__ = ["Template"] # Conversion step kinds |