Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
NTPsec
ntpsec
Repository
ntpsec
tests
pylib
jigs.py
Find file
Blame
History
Permalink
PEP8: don't use len() to tell if the sequence is empty or not
· d2cda592
Matt Selsky
authored
Feb 03, 2019
and
Matt Selsky
committed
Feb 04, 2019
For sequences, (strings, lists, tuples), use the fact that empty sequences are false.
d2cda592