summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2019-10-03 12:15:34 +0300
committerClaude Paroz <claude@2xlibre.net>2019-10-03 11:15:34 +0200
commita21b276d9c53c6f0c54d3f490594ac69e1e8fc9a (patch)
tree229e9eb062de7cae35dc8ec060aa037a5a7020e4
parente8838b5ce626cbf33b864fb13a74958b964393ea (diff)
downloadtablib-a21b276d9c53c6f0c54d3f490594ac69e1e8fc9a.tar.gz
Avoid DeprecationWarning due to invalid escape in docstring
Will become a SyntaxError in Python 3.8: https://bugs.python.org/issue32912
-rw-r--r--tablib/core.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tablib/core.py b/tablib/core.py
index 93caded..6432469 100644
--- a/tablib/core.py
+++ b/tablib/core.py
@@ -142,7 +142,7 @@ class Dataset(object):
data = tablib.Dataset(*data, headers=headers)
- :param \*args: (optional) list of rows to populate Dataset
+ :param \\*args: (optional) list of rows to populate Dataset
:param headers: (optional) list strings for Dataset header row
:param title: (optional) string to use as title of the Dataset
@@ -440,7 +440,7 @@ class Dataset(object):
"""
Import `in_stream` to the :class:`Dataset` object using the `format`.
- :param \*\*kwargs: (optional) custom configuration to the format `import_set`.
+ :param \\*\\*kwargs: (optional) custom configuration to the format `import_set`.
"""
if not format:
@@ -459,7 +459,7 @@ class Dataset(object):
"""
Export :class:`Dataset` object to `format`.
- :param \*\*kwargs: (optional) custom configuration to the format `export_set`.
+ :param \\*\\*kwargs: (optional) custom configuration to the format `export_set`.
"""
export_set, import_set = self._formats.get(format, (None, None))
if not export_set:
@@ -1143,7 +1143,7 @@ class Databook(object):
"""
Import `in_stream` to the :class:`Databook` object using the `format`.
- :param \*\*kwargs: (optional) custom configuration to the format `import_book`.
+ :param \\*\\*kwargs: (optional) custom configuration to the format `import_book`.
"""
if not format:
@@ -1160,7 +1160,7 @@ class Databook(object):
"""
Export :class:`Databook` object to `format`.
- :param \*\*kwargs: (optional) custom configuration to the format `export_book`.
+ :param \\*\\*kwargs: (optional) custom configuration to the format `export_book`.
"""
export_book, import_book = self._formats.get(format, (None, None))
if not export_book: