Skip to content

Commit 0041177

Browse files
authored
Update link to latest version (#118)
1 parent ec07618 commit 0041177

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Some functions related to frame objects and ``PyThreadState`` are not available
2323
on PyPy.
2424

2525
Latest version of the header file:
26-
`pythoncapi_compat.h <https://raw.githubusercontent.com/python/pythoncapi-compat/master/pythoncapi_compat.h>`_.
26+
`pythoncapi_compat.h <https://raw.githubusercontent.com/python/pythoncapi-compat/main/pythoncapi_compat.h>`_.
2727

2828

2929
Python 3.14

pythoncapi_compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// https://github.com/python/pythoncapi_compat
88
//
99
// Latest version:
10-
// https://raw.githubusercontent.com/python/pythoncapi_compat/master/pythoncapi_compat.h
10+
// https://raw.githubusercontent.com/python/pythoncapi-compat/main/pythoncapi_compat.h
1111
//
1212
// SPDX-License-Identifier: 0BSD
1313

upgrade_pythoncapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
PYTHONCAPI_COMPAT_URL = ('https://raw.githubusercontent.com/python/'
13-
'pythoncapi_compat/master/pythoncapi_compat.h')
13+
'pythoncapi-compat/main/pythoncapi_compat.h')
1414
PYTHONCAPI_COMPAT_H = 'pythoncapi_compat.h'
1515
INCLUDE_PYTHONCAPI_COMPAT = f'#include "{PYTHONCAPI_COMPAT_H}"'
1616
INCLUDE_PYTHONCAPI_COMPAT2 = f'#include <{PYTHONCAPI_COMPAT_H}>'

0 commit comments

Comments
 (0)