Skip to content

Commit 958dc60

Browse files
committed
resolve #169 (comment)
1 parent 83897c6 commit 958dc60

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

os/os.module.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -266,14 +266,6 @@ func system(self py.Object, args py.Tuple) (py.Object, error) {
266266
return py.Int(0), nil
267267
}
268268

269-
// https://github.com/go-python/gpython/pull/169#discussion_r828767552 - type assertion
270-
func objectIsString(arg py.Object) bool {
271-
if _, ok := arg.(py.String); ok {
272-
return true
273-
}
274-
return false
275-
}
276-
277269
func objectIsInt(arg py.Object) bool {
278270
if _, ok := arg.(py.Int); ok {
279271
return true

0 commit comments

Comments
 (0)