#!/usr/bin/env python

from gi.repository import Tst

# Retrieve a ParamSpec
a_spec = Tst.get_spec()
copy_of_a_spec = a_spec
# Retrieve another ParamSpec
#(it's the same as the Spec is const)
another_spec = Tst.get_spec()

print ('Var == Copy of var: %(value)s' % {'value' : copy_of_a_spec == a_spec})
print ('Var == Other var (should be the same): %(value)s' % {'value' : a_spec == another_spec})
