diff options
author | Matus Valo <matusvalo@users.noreply.github.com> | 2021-10-29 09:38:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-29 09:38:32 +0200 |
commit | 09cbf492dfcf1ad022e79660d6aec0be3f444244 (patch) | |
tree | 27b5a623d43a28975ee9882d328b79c95fab120f | |
parent | cfb8879c04b9bb7281760200600b6e9e3d9010bc (diff) | |
download | cython-09cbf492dfcf1ad022e79660d6aec0be3f444244.tar.gz |
Fix pure Python example in clibraries.rst (GH-4432)
-rw-r--r-- | docs/src/tutorial/clibraries.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/tutorial/clibraries.rst b/docs/src/tutorial/clibraries.rst index 0dfe1a954..ddc02f443 100644 --- a/docs/src/tutorial/clibraries.rst +++ b/docs/src/tutorial/clibraries.rst @@ -585,7 +585,7 @@ and check if the queue really is empty or not: @cython.cfunc @cython.exceptval(-1, check=True) - def int peek(self): + def peek(self) -> cython.int: value: cython.int = cython.cast(cython.Py_ssize_t, cqueue.queue_peek_head(self._c_queue)) if value == 0: # this may mean that the queue is empty, or |