Add note about a function being obsoleted by a core module in python2.6
This commit is contained in:
parent
0340704eca
commit
53aec2acc9
2 changed files with 4 additions and 2 deletions
|
@ -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("'")
|
||||
|
|
|
@ -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("'")
|
||||
|
|
Loading…
Add table
Reference in a new issue