Skip to content

Commit

Permalink
Some of the native types support Sequence Protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
qur committed Aug 11, 2013
1 parent e7c3640 commit dea6639
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/list.go
Expand Up @@ -17,6 +17,7 @@ import (
// the PyList_XXX functions from the Python C API.
type List struct {
AbstractObject
SequenceProtocol
o C.PyListObject
}

Expand Down
1 change: 1 addition & 0 deletions lib/string.go
Expand Up @@ -11,6 +11,7 @@ import "unsafe"

type String struct {
AbstractObject
SequenceProtocol
o C.PyStringObject
}

Expand Down
1 change: 1 addition & 0 deletions lib/tuple.go
Expand Up @@ -14,6 +14,7 @@ import (

type Tuple struct {
AbstractObject
SequenceProtocol
o C.PyTupleObject
}

Expand Down
1 change: 1 addition & 0 deletions lib/unicode.go
Expand Up @@ -11,6 +11,7 @@ import "unsafe"

type Unicode struct {
AbstractObject
SequenceProtocol
o C.PyUnicodeObject
}

Expand Down

0 comments on commit dea6639

Please sign in to comment.