Ulrich Eckhardt wrote:
I just had an idea, it occurred to me that the pass statement is pretty similar to the print statement, and similarly to the print() function, there could be a pass() function that does and returns nothing.

Example:
   def pass():
       return

   try:
       do_something()
   except:
       pass()

Do you have a use case where `pass()` works but `pass` doesn't?

~Ethan~
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to