fix typo in docstring

s/direcotry/directory/
Merge pull request #15798 from bbinet/patch-1

fix typo in docstring