class_docstr: New geometry/coordseq method 'xy' makes numpy interop easier
class_docstr_tok: ["New","geometry\/coordseq","method","'xy","'","makes","numpy","interop","easier"]
code: def func(self, x, y, z=None):
      return tuple(c for c in [x, y, z] if c)
  
file_path: shapely/shapely/tests/legacy/test_transform.py
imports: import unittest
  import pytest
  from shapely import geometry
  from shapely.ops import transform
label_desc: Use image node_id 1 for calling the IdentityTestCase obj's underlying member method code with example usage: obj.func(x, y, z) and returns: tuple