(value)
r"""Strip a string such as ``19 December 2018 [18]\n`` to ``19 December 2018``
r"""Strip a string such as ``19 December 2018 [18]\n`` to ``19 December 2018``
r Strip a string such as 19 December 2018 [ 18 ] \ n to 19 December 2018
def parse_data_wiki(value):
    r"""Strip a string such as ``19 December 2018 [18]\n`` to ``19 December 2018``"""
    if six.PY2:
        return value.encode("utf8").split('[')[0].strip()
    else:
        return value.split('[')[0].strip()
def parse_data_wiki ( value ) : if six . PY2 : return value . encode ( "utf8" ) . split ( '[' ) [ 0 ] . strip ( ) else : return value . split ( '[' ) [ 0 ] . strip ( )