From 4dcb605ac403c99390ba3ce6fab01fa8c52b3dd0 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 8 Apr 2014 22:09:14 +0300 Subject: py: Make bytearray a proper type. --- tests/basics/bytearray1.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/basics') diff --git a/tests/basics/bytearray1.py b/tests/basics/bytearray1.py index 201b5b659..e564165b9 100644 --- a/tests/basics/bytearray1.py +++ b/tests/basics/bytearray1.py @@ -1,5 +1,6 @@ print(bytearray(4)) a = bytearray([1, 2, 200]) +print(type(a)) print(a[0], a[2]) print(a[-1]) print(a) -- cgit v1.2.3