class_docstr: A basic Point class.
class_docstr_tok: ["A","basic","Point","class","."]
docstr: Build a Point from an object that has properties `x` and `y`.
docstr_tok: ["Build","a","Point","from","an","object","that","has","properties","`","x","`","and","`","y","`","."]
code: def build(cls, obj):
      """Build a Point from an object that has properties `x` and `y`."""
      return cls(obj.x, obj.y)
  
imports: import collections
  import math
  import random
label_desc: Use image node_id 1 for calling the Point obj's underlying member method code with example usage: obj.build(cls, obj) and returns: cls