Skip to content

Commit

Permalink
Add link to grammar specification for lambda parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Glyphack committed Sep 2, 2024
1 parent fbb26f0 commit 35681c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/reference/expressions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1892,7 +1892,8 @@ object. The unnamed object behaves like a function object defined with:
See section :ref:`function` for the syntax of parameter lists. Note that
functions created with lambda expressions cannot contain statements or
annotations.
annotations. See :doc:`standard Python grammar <./grammar>`
for precise grammar specification of lambda parameters.


.. _exprlists:
Expand Down

0 comments on commit 35681c4

Please sign in to comment.