[3.13] Format None, True, False and NotImplemented as literals (GH-118758) (GH-118792)

(cherry picked from commit 05c2fe1acda9ea5a57061642c36e8b73bb4fbba4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
39 files changed