py3.10ΒΆ

Build the docs with Python 3.10.

>>> import sys
>>> sys.version_info
sys.version_info(major=3, minor=10, micro=0, releaselevel='beta', serial=4)
>>> sys.version
'3.10.0b4 (default, Jul 22 2021, 10:31:51) [GCC 7.5.0]'
>>> # Use Structural Pattern Matching
>>> # https://www.python.org/dev/peps/pep-0636
>>> import random
>>> match random.choice(['test', 'quit', 'welcome']):
...   case 'test':
...     print('TEST')
...   case 'quit':
...     print('QUIT')
...   case 'welcome':
...     print('WELCOME')
... 
WELCOME
>>> # Build at
>>> import datetime
>>> datetime.datetime.utcnow()  # UTC
datetime.datetime(2022, 4, 13, 1, 13, 31, 472192)