We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e36a310 commit ca9d990Copy full SHA for ca9d990
1 file changed
peps/pep-0834.rst
@@ -65,7 +65,7 @@ understand that certain base classes or decorators radically change what a class
65
does, instead of putting the special behavior of these constructs front and center in the
66
syntax.
67
68
-This PEP proposes a flexible new syntax to declare these constructs using *class builders*:
+This PEP proposes a flexible new syntax to declare these constructs using *class builders*::
69
70
builder Simple:
71
...
@@ -93,7 +93,10 @@ Syntax
93
------
94
95
The grammar for class definitions is extended to allow a name before the
96
-class name::
+class name:
97
+
98
+.. code-block:: peg
99
100
101
class_def_raw:
102
| 'class' NAME type_params? ['(' arguments? ')'] ':' block
0 commit comments