PyLong_AsLongLong() docs should say 'long long' (GH-18082) (GH-18110)
(cherry picked from commit 47be7d0108b4021ede111dbd15a095c725be46b7)
Co-authored-by: Keith Erskine <toastie604@gmail.com>
Co-authored-by: Keith Erskine <toastie604@gmail.com>
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index 33f6b3b..f41d419 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -179,7 +179,7 @@
:c:type:`PyLongObject`.
Raise :exc:`OverflowError` if the value of *obj* is out of range for a
- :c:type:`long`.
+ :c:type:`long long`.
Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate.