Skip to content

Commit 9b91f33

Browse files
committed
sequence: typo
1 parent afaa0db commit 9b91f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sequence.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ func PyString_Format(format, args *PyObject) *PyObject {
524524
// Intern the argument *string in place. The argument must be the address of a pointer variable pointing to a Python string object. If there is an existing interned string that is the same as *string, it sets *string to it (decrementing the reference count of the old string object and incrementing the reference count of the interned string object), otherwise it leaves *string alone and interns it (incrementing its reference count). (Clarification: even though there is a lot of talk about reference counts, think of this function as reference-count-neutral; you own the object after the call if and only if you owned it before the call.)
525525
//
526526
// Note This function is not available in 3.x and does not have a PyBytes alias.
527-
func PyString_InternInPlance(self *PyObject) {
527+
func PyString_InternInPlace(self *PyObject) {
528528
//FIXME check everything is OK...
529529
s := topy(self)
530530
C.PyString_InternInPlace(&s)

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