From dd44faf5abdf0205aa35c3a774ea60d8467e8e7e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 19 Mar 2019 12:23:53 +0000 Subject: [PATCH] update comments --- src/add/example_buf_pipe.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/add/example_buf_pipe.py b/src/add/example_buf_pipe.py index a1f5d04f..ecea2c0c 100644 --- a/src/add/example_buf_pipe.py +++ b/src/add/example_buf_pipe.py @@ -105,6 +105,11 @@ def eq(o, i): passsed a list (or tuple) of objects, and calls the objects' eq function. + complex objects (classes) can be used: they must follow the + convention of having an eq member function, which takes the + responsibility of further calling eq and returning a list of + eq assignments + Record is a special (unusual, recursive) case, where the input is specified as a dictionary (which may contain further dictionaries, recursively), where the field names of the dictionary must match -- 2.30.2