4 ms·`int | None` is often prefered in the newest versions.by ZiiS 4y ago`int | None` is often prefered in the newest versions.codethief 4y agoI must have missed this. Union types using | are possible now?ZiiS 4y agoYes, saves the import and looks cleaner IMHO https://www.blog.pythonlibrary.org/2021/09/11/python-3-10-simplifies-unions-in-type-annotations/ https://www.blog.pythonlibrary.org/2021/09/11/python-3-10-si...