Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 omitting arguments in function/method calls
#11
Instead of fun(a,,c), the pythonian philosophy would be to call fun(a, None, c). Of course, the function needs to be ready for such calls.
Skaperen likes this post
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  function/method keyword argument alias Skaperen 1 150 Dec-01-2019, 03:56 AM
Last Post: Gribouillis
  how operators are implemented as function calls Skaperen 5 675 Dec-15-2018, 03:14 AM
Last Post: ichabod801

Forum Jump:


Users browsing this thread: 1 Guest(s)