Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.
Merge from 3.3

Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.