summaryrefslogtreecommitdiff
path: root/pyinfluxtools
diff options
context:
space:
mode:
Diffstat (limited to 'pyinfluxtools')
-rw-r--r--pyinfluxtools/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyinfluxtools/__init__.py b/pyinfluxtools/__init__.py
index dd7d0a5..6e10914 100644
--- a/pyinfluxtools/__init__.py
+++ b/pyinfluxtools/__init__.py
@@ -83,6 +83,8 @@ class Write(object):
Traceback (most recent call last):
...
ValueError: invalid literal for int() with base 10: '1231abcdef123'
+ >>> print(Write.parse('cpu field="hello World"'))
+ null
"""
def unescape(string):
return re.sub(r'(?<!\\)([\\,=])', '', string)