Skip to content

Commit e86b872

Browse files
committed
[*] pickle: fix typos in comments
1 parent 3fa8b3b commit e86b872

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/pickle/numpy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (a *NumpyArrayRaw) Build(build Build) (err error) {
7171

7272
switch x := args[4].(type) {
7373
case Build, Reduce:
74-
// if we've got Build or Reduce objects we have a deal with plaint data stored in raw byte array
74+
// if we've got Build or Reduce objects we have a deal with plain data stored in raw byte array
7575
err = ParseClass(&a.Data, args[4])
7676
case List:
7777
// sometimes we've got data stored as python list (for array of python objects)

internal/pickle/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type Reduce struct {
3030
Args Tuple
3131
}
3232

33-
// Build is result of BUILD pickle command (usualli class __setstate__ call)
33+
// Build is result of BUILD pickle command (usually class __setstate__ call)
3434
type Build struct {
3535
Object interface{}
3636
// Args are usually represented like Tuple (arguments for custom __setstate__) or Dict (class members)

0 commit comments

Comments
 (0)