From 711b7d4f0104442bdcd4e669d17fe96117e70cf6 Mon Sep 17 00:00:00 2001 From: ?ukasz Langa Date: Wed, 5 Jun 2013 10:31:42 +0200 Subject: correct usage example in README.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 6b03da7..75404f6 100644 --- a/README.rst +++ b/README.rst @@ -13,7 +13,7 @@ To define a generic function, decorate it with the ``@singledispatch`` decorator. Note that the dispatch happens on the type of the first argument, create your function accordingly:: - >>> from functools import singledispatch + >>> from singledispatch import singledispatch >>> @singledispatch ... def fun(arg, verbose=False): ... if verbose: -- cgit v1.2.1