human
Solve the following python programming problem given the following code:
@staticmethod
def PythonPartial(func, *args, **keywords):
assistant
#Here is the Python code you requested.

    """Pure Python approximation of partial()
    """
    def newfunc(*fargs, **fkeywords):
        newkeywords = keywords.copy()
        newkeywords.update(fkeywords)
        return func(*(args + fargs), **newkeywords)
    newfunc.func = func
    newfunc.args = args
    newfunc.keywords = keywords
    return newfunc