Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Python Version: Python 3.7.5
Os: Kali Linux 2020.1
When trying to import Literal it Shows following error:
ImportError: cannot import name 'Literal' from 'typing' (/usr/lib/python3.7/typing.py)Is Literal deprecated in Python3 because in Python2 typing source code Literal is present but in new typing.py it isn't?