diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-02-02 18:29:33 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-02-02 18:29:33 +0000 |
commit | 0bc93f5c8ba8204e1cdd89c20bc0600af4446b5a (patch) | |
tree | 7cb4e8b64dc04f5582744320c097004a0c41a335 /Lib/codecs.py | |
parent | ac5687a51575dfc14cc8d5b4b8a653b474e48f64 (diff) | |
download | cpython-git-0bc93f5c8ba8204e1cdd89c20bc0600af4446b5a.tar.gz |
Massive edits. If p is a pointer to a struct, and p->f is a pointer to
a function, then
p->f(arg1, arg2, ...)
is semantically the same as
(*p->f)(arg1, arg2, ...)
Changed all instances of the latter into the former. Given how often
the code embeds this kind of expression in an if test, the unnecessary
parens and dereferening operator were a real drag on readability.
Diffstat (limited to 'Lib/codecs.py')
0 files changed, 0 insertions, 0 deletions