Browse Source

Correction d'une erreur dans la documentation

pull/54/head
Louis 10 years ago
parent
commit
f0c33dc9dc
  1. 2
      patacrep/authors.py

2
patacrep/authors.py

@ -71,7 +71,7 @@ def split_sep_author(string, sep):
- string: string containing authors names ; - string: string containing authors names ;
- sep: regexp matching a separator. - sep: regexp matching a separator.
>>> split_sep_author("Tintin and Milou", '^(.*) and (.*)$') >>> split_sep_author("Tintin and Milou", re.compile('^(.*) and (.*)$'))
["Tintin", "Milou"] ["Tintin", "Milou"]
""" """
authors = [] authors = []

Loading…
Cancel
Save