Add note about a function being obsoleted by a core module in python2.6

This commit is contained in:
Alexander van Gessel 2010-06-18 02:11:07 +01:00
parent 0340704eca
commit 53aec2acc9
2 changed files with 4 additions and 2 deletions

View file

@ -817,7 +817,8 @@ class Parser:
def strify(string):
"""
Massage a string into what appears to be a JSON-compatible form
Massage a string into what appears to be a JSON-compatible form.
This can be replaced with json.dumps() in python 2.6.
"""
s = repr(string)
front = s.index("'")

View file

@ -395,7 +395,8 @@ class Parser:
def strify(string):
"""
Massage a string into what appears to be a JSON-compatible form
Massage a string into what appears to be a JSON-compatible form.
This can be replaced with json.dumps() in python 2.6.
"""
s = repr(string)
front = s.index("'")