networkx.readwrite.gml.literal_destringizer¶
-
literal_destringizer(rep)[source]¶ Convert a Python literal to the value it represents.
Parameters: rep (string) – A Python literal. Returns: value – The value of the Python literal. Return type: object Raises: ValueError– Ifrepis not a Python literal.