diff --git a/camelot/utils.py b/camelot/utils.py index 404c00b2..7ee2ff66 100644 --- a/camelot/utils.py +++ b/camelot/utils.py @@ -501,7 +501,7 @@ def text_strip(text, strip=""): return text stripped = re.sub( - fr"[{''.join(map(re.escape, strip))}]", "", text, flags=re.UNICODE + rf"[{''.join(map(re.escape, strip))}]", "", text, flags=re.UNICODE ) return stripped diff --git a/docs/conf.py b/docs/conf.py index e3384126..c2aa6ab6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -62,9 +62,9 @@ master_doc = "index" # General information about the project. -project = u"Camelot" -copyright = u"2021, Camelot Developers" -author = u"Vinayak Mehta" +project = "Camelot" +copyright = "2021, Camelot Developers" +author = "Vinayak Mehta" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -283,7 +283,7 @@ # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - (master_doc, "Camelot.tex", u"Camelot Documentation", u"Vinayak Mehta", "manual"), + (master_doc, "Camelot.tex", "Camelot Documentation", "Vinayak Mehta", "manual"), ] # The name of an image file (relative to this directory) to place at the top of @@ -323,7 +323,7 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). -man_pages = [(master_doc, "Camelot", u"Camelot Documentation", [author], 1)] +man_pages = [(master_doc, "Camelot", "Camelot Documentation", [author], 1)] # If true, show URL addresses after external links. # @@ -339,7 +339,7 @@ ( master_doc, "Camelot", - u"Camelot Documentation", + "Camelot Documentation", author, "Camelot", "One line description of project.",