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
- Raises
ValueError – If
repis not a Python literal.