def return_annotation(self): r = self.signature.return_annotation if r is not inspect._empty: return r return None