[DOC] Fix example code syntax in code comment
Merge pull request #5583 from tricknotes/fix-example

[DOC] Fix example code syntax in code comment