In the code below, please suggest why is there this error:
TypeError: __init__() got an unexpected keyword argument 'gnupghome'
It's the same as example code in the documentation:
import gnupg
gpg = gnupg.GPG(gnupghome='/path/to/home/directory')