]> granicus.if.org Git - python/commit
[Bug #1497414] _self is a reserved word in the WATCOM 10.6 C compiler.
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 3 Jun 2006 19:02:35 +0000 (19:02 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 3 Jun 2006 19:02:35 +0000 (19:02 +0000)
commit36f6d779315c8498ebdf01d47d37090f64fd9095
tree5517c91f44ff89531f73f0aca211a72f2ba7aa1c
parent4094b3d08ce2b47e1c488bc0063ac5868344feda
[Bug #1497414] _self is a reserved word in the WATCOM 10.6 C compiler.
Fix by renaming the variable.

In a different module, Neal fixed it by renaming _self to self.  There's
already a variable named 'self' here, so I used selfptr.

(I'm committing this on a Mac without Tk, but it's a simple search-and-replace.
<crosses fingers>, so  I'll watch the buildbots and see what happens.)
Modules/_tkinter.c