fix def / setv example
Merge pull request #282 from tuturto/doc

fix def / setv example