@alex This was changed at your request, however I think we need to either make the actual method's parameter called ``data`` or this should be changed back to ``string``. The fact that there is a keyword argument called ``string`` is part of the API contract of the standard library. If we want these objects to be stand in replacements for the standard library ones then we need to use the name ``string`` (as much as I hate that).

Either way I think documenting one name but having a different name in the code is the wrong thing to do.