878
879
x = property(getx, setx, delx, "I'm the 'x' property.")
880
884
If given, *doc* will be the docstring of the property attribute. Otherwise, the
881
885
property will copy *fget*'s docstring (if it exists). This makes it possible to
882
886
create read-only properties easily using :func:`property` as a :term:`decorator`::