diff --git a/docs/examples.md b/docs/examples.md index 0f8301aa..15f8beee 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -689,7 +689,7 @@ Sometimes you may want to create a class programmatically. >>> C2 = make_class("C2", {"x": field(type=int), "y": field()}) >>> fields(C1) == fields(C2) True ->>> fields(C1).x.type +>>> fields(C2).x.type ```