From 60403a5409ff2c3f3b07dd2ca91a7a3e096839c7 Mon Sep 17 00:00:00 2001
From: Thomas Wouters <thomas@python.org>
Date: Mon, 7 Oct 2024 06:58:58 +0200
Subject: Python 3.13.0

---
 Include/patchlevel.h                                   |  6 +++---
 Lib/pydoc_data/topics.py                               |  2 +-
 Misc/NEWS.d/3.13.0.rst                                 | 18 ++++++++++++++++++
 .../2024-10-03-22-26-39.gh-issue-124871.tAMF47.rst     |  2 --
 .../2024-10-05-23-53-06.gh-issue-125008.ETANpd.rst     |  2 --
 README.rst                                             |  4 ++--
 6 files changed, 24 insertions(+), 10 deletions(-)
 create mode 100644 Misc/NEWS.d/3.13.0.rst
 delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2024-10-03-22-26-39.gh-issue-124871.tAMF47.rst
 delete mode 100644 Misc/NEWS.d/next/Core_and_Builtins/2024-10-05-23-53-06.gh-issue-125008.ETANpd.rst

diff --git a/Include/patchlevel.h b/Include/patchlevel.h
index 22bb119..2f13bb9 100644
--- a/Include/patchlevel.h
+++ b/Include/patchlevel.h
@@ -19,11 +19,11 @@
 #define PY_MAJOR_VERSION        3
 #define PY_MINOR_VERSION        13
 #define PY_MICRO_VERSION        0
-#define PY_RELEASE_LEVEL        PY_RELEASE_LEVEL_GAMMA
-#define PY_RELEASE_SERIAL       3
+#define PY_RELEASE_LEVEL        PY_RELEASE_LEVEL_FINAL
+#define PY_RELEASE_SERIAL       0
 
 /* Version as a string */
-#define PY_VERSION              "3.13.0rc3+"
+#define PY_VERSION              "3.13.0"
 /*--end constants--*/
 
 /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py
index 81c0b68..dbfeb55 100644
--- a/Lib/pydoc_data/topics.py
+++ b/Lib/pydoc_data/topics.py
@@ -1,5 +1,5 @@
 # -*- coding: utf-8 -*-
-# Autogenerated by Sphinx on Tue Oct  1 04:00:06 2024
+# Autogenerated by Sphinx on Mon Oct  7 06:59:36 2024
 # as part of the release process.
 topics = {'assert': 'The "assert" statement\n'
            '**********************\n'
diff --git a/Misc/NEWS.d/3.13.0.rst b/Misc/NEWS.d/3.13.0.rst
new file mode 100644
index 0000000..b0f43d8
--- /dev/null
+++ b/Misc/NEWS.d/3.13.0.rst
@@ -0,0 +1,18 @@
+.. date: 2024-10-05-23-53-06
+.. gh-issue: 125008
+.. nonce: ETANpd
+.. release date: 2024-10-07
+.. section: Core and Builtins
+
+Fix :func:`tokenize.untokenize` producing invalid syntax for double braces
+preceded by certain escape characters.
+
+..
+
+.. date: 2024-10-03-22-26-39
+.. gh-issue: 124871
+.. nonce: tAMF47
+.. section: Core and Builtins
+
+Fix compiler bug (in some versions of 3.13) where an assertion fails during
+reachability analysis.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-10-03-22-26-39.gh-issue-124871.tAMF47.rst b/Misc/NEWS.d/next/Core and Builtins/2024-10-03-22-26-39.gh-issue-124871.tAMF47.rst
deleted file mode 100644
index 185cb30..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2024-10-03-22-26-39.gh-issue-124871.tAMF47.rst	
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix compiler bug (in some versions of 3.13) where an assertion fails during reachability
-analysis.
diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2024-10-05-23-53-06.gh-issue-125008.ETANpd.rst b/Misc/NEWS.d/next/Core_and_Builtins/2024-10-05-23-53-06.gh-issue-125008.ETANpd.rst
deleted file mode 100644
index 8971e05..0000000
--- a/Misc/NEWS.d/next/Core_and_Builtins/2024-10-05-23-53-06.gh-issue-125008.ETANpd.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix :func:`tokenize.untokenize` producing invalid syntax for
-double braces preceded by certain escape characters.
diff --git a/README.rst b/README.rst
index 3f2b4d5..7c1e463 100644
--- a/README.rst
+++ b/README.rst
@@ -1,5 +1,5 @@
-This is Python version 3.13.0 release candidate 3
-=================================================
+This is Python version 3.13.0
+=============================
 
 .. image:: https://github.com/python/cpython/workflows/Tests/badge.svg
    :alt: CPython build status on GitHub Actions
-- 
cgit v0.12

