Explain that reference targets are writable
It might seem like a really obvious point to make but without emphasizing it, it isn't completely clear. I would like to mention this in the Branch section as well for how to point a branch at another commit but I can't see how to smoothly slide it in.
This commit is contained in:
@@ -202,7 +202,10 @@ Reference_resolve(Reference *self, PyObject *args)
|
||||
PyDoc_STRVAR(Reference_target__doc__,
|
||||
"The reference target: If direct the value will be an Oid object, if it\n"
|
||||
"is symbolic it will be an string with the full name of the target\n"
|
||||
"reference.");
|
||||
"reference.\n"
|
||||
"\n"
|
||||
"The target is writable. Setting the Reference's target to another Oid\n"
|
||||
"object will direct the reference to that Oid instead.");
|
||||
|
||||
PyObject *
|
||||
Reference_target__get__(Reference *self)
|
||||
|
||||
Reference in New Issue
Block a user