diff --git a/README.md b/README.md index f86d7e0..9847c91 100644 --- a/README.md +++ b/README.md @@ -621,7 +621,7 @@ def eval_(node): raise TypeError(node) ``` -``` +```python >>> eval_expr('2^6') 4 >>> eval_expr('2**6') @@ -694,7 +694,7 @@ graph.output_file = get_file_name() with pycallgraph.PyCallGraph(output=graph): ``` -#### Utility code for unique PNG filenames. +##### Utility code for unique PNG filenames. ```python def get_file_name(): return "{}-{}.png".format("profile", get_current_datetime_string())