Fixes issue #4967
Merge pull request #4972 from alefnula/iss4967

CLN: change print to print() in docs