Larry Hastings wrote: > I just duplicated this test on all the .py files in the Lib directory > tree of a freshly updated 2.5 trunk. Whoops! Sorry, bungled it again. I counted definitions of __*attr__ too. This time I used "fgrep -w getattr | fgrep 'getattr('" to cull. The corrected results: 9 27 611 dels 488 2637 38947 gets 120 539 8644 sets 617 3203 48202 total So 617 lines out of 471,821 lines called *attr() functions, or 0.13%. In other words *attr() functions are used on 1 out of every 764 lines. /larry/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4