summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--docs/library/uctypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/uctypes.rst b/docs/library/uctypes.rst
index 328b968f49..c124592b3c 100644
--- a/docs/library/uctypes.rst
+++ b/docs/library/uctypes.rst
@@ -96,7 +96,7 @@ Following are encoding examples for various field types:
Module contents
---------------
-.. class:: struct(descriptor, addr, layout_type-NATIVE)
+.. class:: struct(descriptor, addr, layout_type=NATIVE)
Instantiate a "foreign data structure" object based on structure descriptor
(encoded as a dictionary), layout type (see below), and actual structure