Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:
It says list in the __init__ doc : https://github.com/python/cpython/blob/54b4f14712b9350f11c983f1c8ac47a3716958a7/Lib/inspect.py#L2759 It says that parameters is a public property that returns a mapping of parameter name to object at : https://github.com/python/cpython/blob/54b4f14712b9350f11c983f1c8ac47a3716958a7/Lib/inspect.py#L2734 . The change to dict was done with 2cca8efe46935c39c445f585bce54954fad2485b . I can see the public attribute returning dictionary. Can you please point to the doc where it says the parameter should be a dictionary to the constructor? ---------- nosy: +xtreak _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39566> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com