[Pkg-mpd-commits] [python-mpd] 208/262: README.rst: fix error in example

Simon McVittie smcv at debian.org
Sun May 22 18:16:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch upstream
in repository python-mpd.

commit b50c6d9e3b8e0c0d1ff7b3ad8c42ab1d621ccbc3
Author: Jörg Thalheim <joerg at higgsboson.tk>
Date:   Sun May 5 20:39:40 2013 +0200

    README.rst: fix error in example
---
 README.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.rst b/README.rst
index a8db324..e32433a 100644
--- a/README.rst
+++ b/README.rst
@@ -215,7 +215,7 @@ Using Unicode strings should be prefered as it is done transparently by the
 library for you, and makes the transition to Python 3 easier::
 
     >>> import mpd
-    >>> client = MPDClient(use_unicode=True)
+    >>> client = mpd.MPDClient(use_unicode=True)
     >>> client.urlhandlers()[0]
     u'http'
     >>> client.use_unicode = False # Can be switched back later

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/python-mpd.git



More information about the Pkg-mpd-commits mailing list