def changelog(self, api_version, doc):
doc = textwrap.dedent(doc).strip()<EOL>self._changelog[api_version] = doc<EOL>self._changelog_locations[api_version] = get_callsite_location()<EOL>
Add a changelog entry for this api.