Function returns old value

Peter J. Holzer hjp-python at hjp.at
Thu Dec 17 04:57:51 EST 2020


On 2020-12-17 03:06:32 -0000, Bischoop wrote:
> pasting from my IDE to vim/slrn was messing syntax,

You can 

:set paste

in vim to prevent it from messing with pasted content (don't forget to
set nopaste afterwards).

With newer vims that's rarely necessary though since they can distinguish
between input that was pasted and input that was typed.

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp at hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mail.python.org/pipermail/python-list/attachments/20201217/42183331/attachment.sig>


More information about the Python-list mailing list