This documents the development version of NetworkX. Documentation for the current release can be found here.
Convert a Python literal to the value it represents.
rep (string) – A Python literal.
value – The value of the Python literal.
ValueError – If rep is not a Python literal.