fix shadow variables api doc

Authored by cgilles on Dec 6 2019, 5:10 AM.