Skip to content

Commit 2e8212b

Browse files
committed
Replace ```-style headers with ''' instead.
Why: * ```-style headers confuse the syntax-highlighting in my text editor. * I believe '''-style headers are also recommended by the PEP rST template for this level of header, but I haven't confirmed.
1 parent 8e5b9cb commit 2e8212b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pep-0681.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Type checkers supporting this PEP will recognize that the
113113
c5 = CustomerModel(327, "John Smith", 0)
114114
115115
Decorator function example
116-
``````````````````````````
116+
''''''''''''''''''''''''''
117117

118118
.. code-block:: python
119119
@@ -136,7 +136,7 @@ Decorator function example
136136
name: str
137137
138138
Class example
139-
`````````````
139+
'''''''''''''
140140

141141
.. code-block:: python
142142
@@ -152,7 +152,7 @@ Class example
152152
name: str
153153
154154
Metaclass example
155-
`````````````````
155+
'''''''''''''''''
156156

157157
.. code-block:: python
158158
@@ -230,7 +230,7 @@ The following sections provide additional examples showing how these
230230
parameters are used.
231231

232232
Decorator function example
233-
``````````````````````````
233+
''''''''''''''''''''''''''
234234

235235
.. code-block:: python
236236
@@ -253,7 +253,7 @@ Decorator function example
253253
name: str
254254
255255
Class example
256-
`````````````
256+
'''''''''''''
257257

258258
.. code-block:: python
259259
@@ -284,7 +284,7 @@ Class example
284284
name: str
285285
286286
Metaclass example
287-
`````````````````
287+
'''''''''''''''''
288288

289289
.. code-block:: python
290290
@@ -353,7 +353,7 @@ not required:
353353
354354
355355
Field descriptor parameters
356-
```````````````````````````
356+
'''''''''''''''''''''''''''
357357

358358
Libraries that support dataclass-like semantics and support field
359359
descriptor classes typically use common parameter names to construct

0 commit comments

Comments
 (0)