8000 Use sentence case for headers in 'What's new' template (#178) · python/release-tools@9086477 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9086477

Browse files
hugovkAA-Turnerezio-melotti
authored
Use sentence case for headers in 'What's new' template (#178)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
1 parent 6efdea0 commit 9086477

File tree

1 file changed

+39
-14
lines changed

1 file changed

+39
-14
lines changed

run_release.py

Lines changed: 39 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
WHATS_NEW_TEMPLATE = """
4949
****************************
50-
What's New In Python {version}
50+
What's new in Python {version}
5151
****************************
5252
5353
:Editor: TBD
@@ -103,8 +103,8 @@
103103
so it's worth checking back even after reading earlier versions.
104104
105105
106-
Summary -- Release highlights
107-
=============================
106+
Summary --- release highlights
107+
==============================
108108
109109
.. This section singles out the most important changes in Python {version}.
110110
Brevity is key.
@@ -114,40 +114,58 @@
114114
115115
116116
117-
New Features
117+
New features
118118
============
119119
120120
121121
122-
Other Language Changes
122+
Other language changes
123123
======================
124124
125125
126126
127-
New Modules
127+
New modules
128128
===========
129129
130130
* None yet.
131131
132132
133-
Improved Modules
133+
Improved modules
134134
================
135135
136+
module_name
137+
-----------
138+
139+
* TODO
140+
141+
.. Add improved modules above alphabetically, not here at the end.
136142
137143
Optimizations
138144
=============
139145
146+
module_name
147+
-----------
148+
149+
* TODO
140150
141151
142152
143153
Deprecated
144154
==========
145155
156+
* module_name:
157+
TODO
146158
147159
160+
.. Add deprecations above alphabetically, not here at the end.
161+
148162
Removed
149163
=======
150164
165+
module_name
166+
-----------
167+
168+
* TODO
151169
152170
153171
Porting to Python {version}
@@ -157,24 +175,31 @@
157175
that may require changes to your code.
158176
159177
160-
Build Changes
178+
Build changes
161179
=============
162180
163181
164-
C API Changes
182+
C API changes
165183
=============
166184
167-
New Features
185+
New features
168186
------------
169187
188+
* TODO
170189
Porting to Python {version}
171190
----------------------
172191
173-
Deprecated
174-
----------
192+
* TODO
175193
176-
Removed
177-
-------
194+
Deprecated C APIs
195+
-----------------
196+
197+
* TODO
198+
199+
.. Add C API deprecations above alphabetically, not here at the end.
200+
201+
Removed C APIs
202+
--------------
178203
179204
"""
180205

0 commit comments

Comments
 (0)
0