]> granicus.if.org Git - python/commit
Use NULL rather than 0. (#778)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 23 Mar 2017 15:53:47 +0000 (17:53 +0200)
committerGitHub <noreply@github.com>
Thu, 23 Mar 2017 15:53:47 +0000 (17:53 +0200)
commit0b3ec192259a65971001ce8f0de85a9c1e71d9c7
treea1be55ac1679e3b80ccb4cc2e31c5c57fc4bbdc9
parentaefa7ebf0ff0f73feee7ab24f4cdcb2014d83ee5
Use NULL rather than 0. (#778)

There was few cases of using literal 0 instead of NULL in the context of
pointers.  While this was a legitimate C code, using NULL rather than 0 makes
the code clearer.
Modules/_csv.c
Modules/_ctypes/callproc.c
Modules/_cursesmodule.c
Modules/_sqlite/connection.c
Modules/_sqlite/module.c
Modules/_tkinter.c
PC/bdist_wininst/install.c
Parser/listnode.c