fix: PATCH support

Closes #38
Merge remote-tracking branch 'upstream/master' into pep8_fixes