about 'setattr(o, name, value)' and 'inspect.signature(f)'

2017-10-10 Thread xieyuheng
in CPython, instead of trying each object and function, is there any rules can help me answer the following questions ? or is there any third part documentations [community driven docs ? wiki ?] that can answer them ? 1. 'setattr(o, name, value)' can be used for what kind of objects ? secti

about 'setattr(o, name, value)' and 'inspect.signature(f)'

2017-10-10 Thread xieyuheng
in CPython, instead of trying each object and function, is there any rules can help me answer the following questions ? or is there any third part documentations [community driven docs ? wiki ?] that can answer them ? 1. 'setattr(o, name, value)' can be used for what kind of objects ? secti