On Sun May 23 02:24:38 2010, marks@iskoot.co.il wrote:
Show quoted text> The documentation says:
>
> clone() takes a scalar argument and an optional parameter that can be
> used to limit the depth of the copy.
>
> Unfortunately, there is no documentation on the optional parameter, so
> it is unusable.
You're absolutely right.
he documentation says you can use this parameter to limit the depth of
the copy, but right now the extra parameter just increases the refcount
when it's 0, and clones otherwise. Until we decide which is broken (the
documentation or the implementation), we're removing the mention to the
option parameter.
Thanks for the report!