Skip to content

Commit fadf8a0

Browse files
[3.11] Clarify how topics.py gets created. (GH-106121) (GH-106580)
When changing docs, it was easy to find text in topics.py, and I wondered whether I was supposed to edit it. Thankfully, the top of the file says it's auto-generated, so I knew I didn't have to edit it. But I didn't know what started the auto-generation process. It's part of the release process, so I'll leave a note here for future editors. (cherry picked from commit dac1e36) Co-authored-by: Ned Batchelder <[email protected]>
1 parent 9d7f270 commit fadf8a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/tools/extensions/pyspecific.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ def finish(self):
562562
try:
563563
f.write('# -*- coding: utf-8 -*-\n'.encode('utf-8'))
564564
f.write(('# Autogenerated by Sphinx on %s\n' % asctime()).encode('utf-8'))
565+
f.write('# as part of the release process.\n'.encode('utf-8'))
565566
f.write(('topics = ' + pformat(self.topics) + '\n').encode('utf-8'))
566567
finally:
567568
f.close()

0 commit comments

Comments
 (0)