:orphan:
.. _s_11PytoRuntime6ObjectC7versionAA7VersionVvp:
``version``
===========
The Python version to which this object belongs.
.. raw:: html
.. rubric:: Declaration
.. raw:: html
.. rubric:: Discussion
Objects cannot be referenced accross versions (an :swift:symbol:`PytoRuntime.Interpreter.Error.crossVersionReference` will be thrown if you try), but they can be referenced accross :swift:symbol:`PytoRuntime.Interpreter` threads.