Some improvements to tumblelog
Today I continued with making some small improvements to
tumblelog. Yesterday, inspired by "The Story of Python", I added the
walrus operator to the Python version where it made sense. And today I
did some other changes. The complete change log for tumblelog 5.7.0
is as follows:
- Use the walrus operator in
tumblelog.py - Use tuple unpacking in
create_year_pagesintumblelog.py - Use
sorted()withoutkeysintumblelog.py - Precompute
yearslist increate_year_pagesintumblelog.py - Make
create_blogcleaner in bothtumblelog.plandtumblelog.py
As usual the latest version is available on GitHub.