Skip to content

Commit 4c50063

Browse files
committed
Use sentence case for headers in 'What's new' template
https://devguide.python.org/documentation/style-guide/#capitalization
1 parent e7249f3 commit 4c50063

1 file changed

Lines changed: 33 additions & 9 deletions

File tree

run_release.py

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
WHATS_NEW_TEMPLATE = """
4646
****************************
47-
What's New In Python {version}
47+
What's new in Python {version}
4848
****************************
4949
5050
:Editor: TBD
@@ -100,7 +100,7 @@
100100
so it's worth checking back even after reading earlier versions.
101101
102102
103-
Summary -- Release highlights
103+
Summary -- release highlights
104104
=============================
105105
106106
.. This section singles out the most important changes in Python {version}.
@@ -111,40 +111,58 @@
111111
112112
113113
114-
New Features
114+
New features
115115
============
116116
117117
118118
119-
Other Language Changes
119+
Other language changes
120120
======================
121121
122122
123123
124-
New Modules
124+
New modules
125125
===========
126126
127127
* None yet.
128128
129129
130-
Improved Modules
130+
Improved modules
131131
================
132132
133+
module_name
134+
-----------
135+
136+
* TODO
137+
138+
.. Add improved modules above alphabetically, not here at the end.
133139
134140
Optimizations
135141
=============
136142
143+
module_name
144+
-----------
145+
146+
* TODO
137147
138148
139149
140150
Deprecated
141151
==========
142152
153+
* module_name:
154+
TODO
155+
143156
144157
158+
.. Add deprecations above alphabetically, not here at the end.
145159
Removed
146160
=======
147161
162+
module_name
163+
-----------
164+
165+
* TODO
148166
149167
150168
Porting to Python {version}
@@ -154,22 +172,28 @@
154172
that may require changes to your code.
155173
156174
157-
Build Changes
175+
Build changes
158176
=============
159177
160178
161-
C API Changes
179+
C API changes
162180
=============
163181
164-
New Features
182+
New features
165183
------------
166184
185+
* TODO
167186
Porting to Python {version}
168187
----------------------
169188
189+
* TODO
190+
170191
Deprecated
171192
----------
172193
194+
* TODO
195+
196+
.. Add C API deprecations above alphabetically, not here at the end.
173197
Removed
174198
-------
175199

0 commit comments

Comments
 (0)