From c5cee5812f94fafd780e6e057332f31cb18d253e Mon Sep 17 00:00:00 2001 From: partev Date: Sat, 14 Oct 2023 23:55:54 -0400 Subject: [PATCH 1/2] gh-110886 DOC: add a link to BNF wikipedia article --- Doc/reference/introduction.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/reference/introduction.rst b/Doc/reference/introduction.rst index 81f0a5c5d43883..7c7d6ee9721683 100644 --- a/Doc/reference/introduction.rst +++ b/Doc/reference/introduction.rst @@ -90,7 +90,8 @@ Notation .. index:: BNF, grammar, syntax, notation -The descriptions of lexical analysis and syntax use a modified BNF grammar +The descriptions of lexical analysis and syntax use a modified +`BNF `_ grammar notation. This uses the following style of definition: .. productionlist:: notation From 7415e01942f3bb451a576b7f55fcc944fa162068 Mon Sep 17 00:00:00 2001 From: partev Date: Sun, 15 Oct 2023 10:16:35 -0400 Subject: [PATCH 2/2] Update Doc/reference/introduction.rst Co-authored-by: Hugo van Kemenade --- Doc/reference/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/introduction.rst b/Doc/reference/introduction.rst index 7c7d6ee9721683..cf186705e6e987 100644 --- a/Doc/reference/introduction.rst +++ b/Doc/reference/introduction.rst @@ -91,7 +91,7 @@ Notation .. index:: BNF, grammar, syntax, notation The descriptions of lexical analysis and syntax use a modified -`BNF `_ grammar +`Backus–Naur form (BNF) `_ grammar notation. This uses the following style of definition: .. productionlist:: notation