you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 year ago (3 children)

I understand that, it makes sense. But why does it not throw an error? The parameter is missing after all.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 1 year ago (1 child)

    Actually the explanation is wrong.

    not()
    

    is actually

    not ()
    

    not is a keyword not a function.

    Boolean of empty tuple is False and then not negates it.

    I explained it better here:

    https://lemm.ee/post/61594443/19783421

  • source
  • parent
  • hideshow 1 child comment