Simplify the last docstring example

minor fix for #2444