Docs: Annotation must integer instead of string for length

Small fix for the docs for those that like to copy/paste code.

This should also be patched into the master branch.