Update logic.rst

Think this should be updated based on the example dstufft gave in 
https://github.com/pypa/pip/issues/1268