From: Luke Kenneth Casson Leighton Date: Tue, 19 Mar 2019 12:23:53 +0000 (+0000) Subject: update comments X-Git-Tag: ls180-24jan2020~1627 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd44faf5abdf0205aa35c3a774ea60d8467e8e7e;p=ieee754fpu.git update comments --- 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