Skip to content

Commit cd5d9c2

Browse files
committed
Tweak shlex.quote comments based on picnixz's review
Try not to use don't and we're and should've etc apostrophes.
1 parent 188a239 commit cd5d9c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/shlex.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ def quote(s, *, force=False):
335335
b'abcdefghijklmnopqrstuvwxyz')
336336
if (not force
337337
and s.isascii() and not s.encode().translate(None, delete=safe_chars)):
338-
# No quoting is needed if we're not forcing quoting
339-
# and `s` is an ASCII string consisting only of `safe_chars`
338+
# No quoting is needed if we are not forcing quoting
339+
# and `s` is an ASCII string consisting only of `safe_chars`.
340340
return s
341341

342342
# use single quotes, and put single quotes into double quotes

0 commit comments

Comments
 (0)