[Python-Dev] Hotshot

Skip Montanaro skip at pobox.com
Sat Jan 24 22:35:37 EST 2004

    >> Unfortunately, I have to take my son to hockey practice, so I can't
    >> debug that problem right now.

    Nick>  From modified script:
    Nick> =======================
    Nick>      profile = PROFILE
    Nick>      for opt, arg in opts:
    Nick>          if opt in ("-h", "--help"):
    Nick>              usage()
    Nick>              return 0
    Nick>          if opt in ("-p", "--profile"):
    Nick>              profile = arg
    Nick>              return 0
    Nick> ========================

    Nick> Should that second 'return 0' be there?

Ah, yeah.  Cut-n-paste bug.



More information about the Python-Dev mailing list