--- a/src/pyams_utils/unicode.py Wed Oct 07 17:50:33 2015 +0200
+++ b/src/pyams_utils/unicode.py Mon Jan 18 18:47:43 2016 +0100
@@ -82,13 +82,12 @@
"""Remove extended characters from string and replace them with 'basic' ones
@param s: text to be cleaned.
- @type s: str or unicode
@param escape_slashes: if True, slashes are also converted
- @type escape_slashes: boolean
@param force_lower: if True, result is automatically converted to lower case
- @type force_lower: boolean
+ @param spaces: character used to replace spaces
+ @param remove_punctuation: if True, all punctuation characters are removed
+ @param keep_chars: punctuation characters which may be kept
@return: text without diacritics
- @rtype: unicode
"""
if escape_slashes:
s = s.replace("\\", "/").split("/")[-1]