Skip to content

Commit 4974b6d

Browse files
committed
Notes on strings
1 parent bc5ac4a commit 4974b6d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

py/string.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
// String objects
2+
//
3+
// Note that string objects in Python are arrays of unicode
4+
// characters. However we are using the native Go string which is
5+
// UTF-8 encoded. This makes very little difference most of the time,
6+
// but care is needed when indexing, slicing or iterating through
7+
// strings.
28

39
package py
410

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy