summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2022-12-15 00:39:00 (GMT)
committerGitHub <noreply@github.com>2022-12-15 00:39:00 (GMT)
commitbdd86741bebd3efb51e540d5148e658cb34fd3ce (patch)
tree551d70eb829729e2898c05c939f9de1dcc339352 /Include
parentae83c782155ffe86830c3255e338f366e331ad30 (diff)
downloadcpython-bdd86741bebd3efb51e540d5148e658cb34fd3ce.zip
cpython-bdd86741bebd3efb51e540d5148e658cb34fd3ce.tar.gz
cpython-bdd86741bebd3efb51e540d5148e658cb34fd3ce.tar.bz2
GH-100222: fix typo _py_set_opocde -> _py_set_opcode (GH-100259)
Typo introduced in #100223. Automerge-Triggered-By: GH:brandtbucher
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/code.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/code.h b/Include/cpython/code.h
index 6a13ff2..1c61932 100644
--- a/Include/cpython/code.h
+++ b/Include/cpython/code.h
@@ -28,7 +28,7 @@ typedef union {
#define _Py_OPARG(word) ((word).oparg)
static inline void
-_py_set_opocde(_Py_CODEUNIT *word, uint8_t opcode)
+_py_set_opcode(_Py_CODEUNIT *word, uint8_t opcode)
{
word->opcode = opcode;
}