code: def binding_of(self, typevar):
          
          if typevar in self._ns:
              return self._ns[typevar]
          if self._instance_ns and typevar in self._instance_ns:
              return self._instance_ns[typevar]
          return None
docs: Returns the type the typevar is bound to, or None.