doc/tutorial-basic: fixed doctests for Py3
doc: fixed doctests to work with ``parameter`` attribute of computations
doc/api/core: sorted entries