Skip to content

Commit 263f340

Browse files
Add example
1 parent c2b35da commit 263f340

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/c-api/intro.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ complete listing.
271271
272272
Declares a static character array variable with the given name *name*.
273273

274+
For example::
275+
276+
PyDoc_VAR(python_doc) = PyDoc_STR("A genus of constricting snakes in the Pythonidae family native "
277+
"to the tropics and subtropics of the Eastern Hemisphere.");
278+
274279

275280
.. _api-objects:
276281

0 commit comments

Comments
 (0)