update comments
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 19 Mar 2019 12:23:53 +0000 (12:23 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 19 Mar 2019 12:23:53 +0000 (12:23 +0000)
src/add/example_buf_pipe.py

index a1f5d04f565c1ec3cd1d2f813ca3fd9436fa6216..ecea2c0c65a9516ec53f69969c8aa7d5d135d2dc 100644 (file)
@@ -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