• Michal@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    2 个月前

    It’s just how pythonic code is written. All python developers know that not and bool can indicate that variable is either empty or null. They will also use the in operator and other python specific syntax.