fix mistakes in 'variable-and-scope' with colons
using colons before doctest results incorrect display.