]> granicus.if.org Git - python/commit
O_cwrite(): rewrote for clarity, replacing all the (Oobject *)self
authorGuido van Rossum <guido@python.org>
Fri, 7 Dec 2001 20:20:28 +0000 (20:20 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 7 Dec 2001 20:20:28 +0000 (20:20 +0000)
commit2f09812efa0701721825b17086de3631462039a6
tree05e237921f7f3208908b447724d3439e74534d8a
parentf70590f990e6b91c36c3aadd7da6fa6c0a9a5beb
O_cwrite(): rewrote for clarity, replacing all the (Oobject *)self
casts with a variable oself that has the proper type.  A smart
compiler may put this thing into a register.

(I'm not sure what good this does except satisfy my desire to
understand this function; I got a report about an uninitialized read
from Insure++ about this function and it hurt my eyes to even look at
it.  I gotta run away or I'll get tempted to reformat the entire
file...)
Modules/cStringIO.c