Skip to content

Commit dad987f

Browse files
Commit
1 parent d6b2249 commit dad987f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

peps/pep-0679.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Status: Draft
77
Type: Standards Track
88
Created: 07-Jan-2022
99
Python-Version: 3.15
10-
Message-history: `Jan 2022 <https://discuss.python.org/t/pep-679-allow-parentheses-in-assert-statements/13003>`_,
11-
`Dec 2021 <https://github.com/python/cpython/issues/90325>`_
10+
Post-History: `10-Jan-2022 <https://discuss.python.org/t/pep-679-allow-parentheses-in-assert-statements/13003>`__
1211

1312

1413
Abstract
@@ -250,7 +249,8 @@ It's possible that user confusion stems, at least partly, from an expectation
250249
that comma-separated items are equivalent.
251250
Enclosing an :keyword:`!assert` statement's expression and message in
252251
parentheses would visually bind them together even further.
253-
Making `assert` look more similar to a function call encourages a wrong mentality.
252+
Making ``assert`` look more similar to a function call encourages a wrong
253+
mentality.
254254

255255
As a possible solution, it was proposed [#assertwith]_ to replace the comma with
256256
a keyword, and the form would allow parentheses, for example::

0 commit comments

Comments
 (0)