[1/4] Fix some aspects of python lazy string handling: docs
Commit Message
Hi. This patch is a small doc fix to note that arrays can be
turned into lazy strings as well as pointers.
2016-11-06 Doug Evans <dje@google.com>
* guile.texi (Lazy Strings In Guile): Mention arrays.
* python.texi (Lazy Strings In Python): Ditto.
Comments
> Date: Mon, 07 Nov 2016 01:12:48 +0000
> From: Doug Evans <dje@google.com>
>
> Hi. This patch is a small doc fix to note that arrays can be
> turned into lazy strings as well as pointers.
>
> 2016-11-06 Doug Evans <dje@google.com>
>
> * guile.texi (Lazy Strings In Guile): Mention arrays.
> * python.texi (Lazy Strings In Python): Ditto.
OK.
On Sun, Nov 6, 2016 at 7:36 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > Date: Mon, 07 Nov 2016 01:12:48 +0000
> > From: Doug Evans <dje@google.com>
> >
> > Hi. This patch is a small doc fix to note that arrays can be
> > turned into lazy strings as well as pointers.
> >
> > 2016-11-06 Doug Evans <dje@google.com>
> >
> > * guile.texi (Lazy Strings In Guile): Mention arrays.
> > * python.texi (Lazy Strings In Python): Ditto.
>
> OK.
Committed, finally.
@@ -3248,7 +3248,7 @@ most appropriate encoding when the string is printed.
@deffn {Scheme Procedure} lazy-string-type lazy-string
Return the type that is represented by @var{lazy-string}'s type.
-For a lazy string this will always be a pointer type. To
+For a lazy string this is a pointer or array type. To
resolve this to the lazy string's character type, use
@code{type-target-type}.
@xref{Types In Guile}.
@end deffn
@@ -4884,7 +4884,7 @@ is not writable.
@defvar LazyString.type
This attribute holds the type that is represented by the lazy string's
-type. For a lazy string this will always be a pointer type. To
+type. For a lazy string this is a pointer or array type. To
resolve this to the lazy string's character type, use the type's
@code{target} method. @xref{Types In Python}. This attribute is not
writable.