DOC fix incorrect variable name in example

Undefined `dataaddr` -> `dataptrarray`
Merge pull request #4433 from jnothman/patch-4

DOC fix incorrect variable name in example