From 00a61b1253f84f5f87b2f339bce6019184a2df49 Mon Sep 17 00:00:00 2001 From: Prodesire Date: Wed, 25 Oct 2017 22:16:37 +0800 Subject: [PATCH] fix error on doc about attrify --- docs/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 50131a3..9f3d6f0 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -108,11 +108,11 @@ Utils Dict ---- -.. function:: pydu.utils.attrify(obj) +.. function:: pydu.utils.dict.attrify(obj) Attrify obj into `AttriDict` or list or `AttriDict` if the obj is list. - >>> from pydu.utils import attrify + >>> from pydu.utils.dict import attrify >>> attrd = attrify({ 'a': [1, 2, {'b': 'b'}], 'c': 'c',