Using krugle to search within pymol source
You can use the krugle search engine and snoop around inside the pymol source.
Krugle python code search
Use this link , click on the C, Python and other links in the section on the right , to be taken to a code search page. ( see image below)