60
you are viewing a single comment's thread
view the rest of the comments
[-] Michal@programming.dev 6 points 4 days ago

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.

this post was submitted on 24 Apr 2025
60 points (94.1% liked)

Python

7049 readers
50 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS