<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def removekeyword(self, keyword):
 """Remove a table keyword. Similar to :func:`getkeyword` the name can consist of multiple parts. In that case a field in a struct will be removed. Instead of a keyword name an index can be given which removes the i-th keyword. """

        if isinstance(keyword, str):
            self._removekeyword('', keyword, -1)
        else:
            self._removekeyword('', '', keyword)