[hotfix][docs] Remove redundant "." from sample code