Fix wrong documentation

Fixed a remark of Andrei Pavlenko after merging #1206.
A wrong ReST directive .. Sample code:: was used, replaced by .. note:: like suggested.