annotate Doc/tools/fix_hack @ 22194:fc6dc2ea25cf legacy-trunk

Fix leak of NotImplemented in previous checkin to PyNumber_Add(). If result == Py_NotImplemented, always DECREF it before assigning a new value to result.
author Jeremy Hylton <jeremy@alum.mit.edu>
date Fri, 08 Mar 2002 21:28:54 +0000
parents ec25aad43724
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1751
ec25aad43724 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1100
diff changeset
1 #!/bin/sh
1100
ff1899dcda05 Incorporated Jan-Hein's changes and texinfo conversion.
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 sed -e 's/{\\ptt[ ]*\\char[ ]*'"'"'137}/_/g' <"$1" > "@$1" && mv "@$1" $1