From 0df0d3caacb15f67d2beda6833446003ba483f60 Mon Sep 17 00:00:00 2001 From: Samuel GIFFARD Date: Thu, 29 Apr 2021 16:19:17 +0900 Subject: [PATCH] Missing assignment in `tutorial.rst` --- doc/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 8fa0ea9..558ec82 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -423,7 +423,7 @@ Then, bind its inner enum:: and, finally, bind its inner class:: - mod.add_class('Inner', outer_class=outer) + inner = mod.add_class('Inner', outer_class=outer) inner.add_constructor([]) The only slightly tricky part is binding the Do method of the Inner