This is (currently) the intended behaviour. The rfc822 module has an
__all__ attribute that lists its public functions and classes, so "pydoc
rfc822" only shows these things. formatdate is not listed in __all__.
If you'd like to discuss ideas for changing this behaviour, possible
forums would be comp.lang.python or the python-dev list.