code: func (g *Graph) Attr(name string) (starlark.Value, error) {
  	impl, ok := graphAttrs[name]
  	if !ok {
  		return nil, nil // per Attr(...) contract
  	}
  	return impl.BindReceiver(g), nil
  }
docs: // Attr is a part of starlark.HasAttrs interface.