From 7d7f9c01554a22c33a94f3fbdf590e04b6fc7494 Mon Sep 17 00:00:00 2001 From: Toilal Date: Thu, 4 Feb 2016 15:31:25 +0100 Subject: [PATCH] Remove unicode stuff from docs --- docs/index.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 8d841f8..8c80dae 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -127,15 +127,13 @@ GuessIt can be used from command line:: It can also be used as a python module:: >>> from guessit import guessit - >>> guessit(u'Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi') # doctest: +ALLOW_UNICODE + >>> guessit('Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi') # doctest: +ALLOW_UNICODE MatchesDict([('title', 'Treme'), ('season', 1), ('episode', 3), ('episode_title', 'Right Place, Wrong Time'), ('format', 'HDTV'), ('video_codec', 'XviD'), ('release_group', 'NoTV'), ('container', 'avi'), ('mimetype', 'video/x-msvideo'), ('type', 'episode')]) ``MatchesDict`` is a dict that keeps matches ordering. Command line options can be given as dict or string to the second argument. -GuessIt only accept unicode string, so you need to use ``u`` prefix for input string on python 2. - REST API --------