From f0c33dc9dc8a7103cee8bda8fbb3e956dcd1dfe0 Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 27 Jun 2014 16:06:37 +0200 Subject: [PATCH] Correction d'une erreur dans la documentation --- patacrep/authors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patacrep/authors.py b/patacrep/authors.py index 769f2090..94e07f92 100644 --- a/patacrep/authors.py +++ b/patacrep/authors.py @@ -71,7 +71,7 @@ def split_sep_author(string, sep): - string: string containing authors names ; - sep: regexp matching a separator. - >>> split_sep_author("Tintin and Milou", '^(.*) and (.*)$') + >>> split_sep_author("Tintin and Milou", re.compile('^(.*) and (.*)$')) ["Tintin", "Milou"] """ authors = []