From f9e5a7c20055ee2d9cd0d579dedabaa8013eda76 Mon Sep 17 00:00:00 2001 From: Floris Lambrechts Date: Tue, 9 Jul 2024 10:47:01 +0200 Subject: [PATCH] Fix in README.rst: Supply dictionary as first argument This fixes a small bug in the example 'Separator got you down?'. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 0ad3ad2..c790181 100644 --- a/README.rst +++ b/README.rst @@ -435,7 +435,7 @@ To get around this, you can sidestep the whole "filesystem path" style, and aban .. code-block:: python >>> x = { 'a': {'b/c': 0}} - >>> dpath.get(['a', 'b/c']) + >>> dpath.get(x, ['a', 'b/c']) 0 dpath.segments : The Low-Level Backend