mynameisfiber/high_performance_python — pull request #2 by romanstingler (2014-09-27 16:49:45+00:00)
Title: Update julia1_nopil.py

Using __name__ is the preferred method as it applies uniformly. Unlike func_name, it works on built-in functions as well.
Also the double underscores indicate to the reader this is a special attribute. As a bonus, classes and modules have a __name__ attribute too, so you only have remember one special name.