From 2c450c1a27407d0e4c9bef3e73603851fb364023 Mon Sep 17 00:00:00 2001 From: Windson yang Date: Wed, 15 May 2019 09:33:28 +0800 Subject: [PATCH] bpo-26124: Add note for shlex.quote() --- Doc/library/shlex.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/library/shlex.rst b/Doc/library/shlex.rst index fb335c69006816..190b40d34b152f 100644 --- a/Doc/library/shlex.rst +++ b/Doc/library/shlex.rst @@ -70,6 +70,11 @@ The :mod:`shlex` module defines the following functions: >>> command ['ls', '-l', 'somefile; rm -rf ~'] + .. note:: + + The :func:`quote` function will not quote shell keywords. + (like echo, done, while, etc.) + .. versionadded:: 3.3 The :mod:`shlex` module defines the following class: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy