gh-91217: deprecate-pipes (GH-91779)

This commit is contained in:
Brett Cannon 2022-04-21 19:28:34 -07:00 committed by GitHub
parent 29afb7d2ef
commit 2551a6c92f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 1 deletions

View file

@ -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