Question #690684 on Yade changed:
https://answers.launchpad.net/yade/+question/690684

Jérôme Duriez proposed the following answer:
Hi

- simple brackets refer to the ATTRS part of the
YADE_CLASS_BASE_DOC_ATTRS_CTOR_PY macro [*].

- the .def() lines enter the PY part of the latter. I see this part as
directly obeying the syntax of the boost::python C++ Library, eg [**].
Unlike real attributes, it is about methods (functions) here

[*] https://yade-dem.org/doc/prog.html#yade-class-base-doc-macro-family
[**] 
https://www.boost.org/doc/libs/1_73_0/libs/python/doc/html/reference/high_level_components/boost_python_def_hpp.html

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to