Skip to content

Commit 295f596

Browse files
committed
Correcting using struct_time.
1 parent d92453e commit 295f596

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/lib-graalpython/time.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ def __repr__(self):
7676

7777
@__builtin__
7878
def gmtime(seconds):
79-
return struct_time(*__truffle_gmtime_tuple__(seconds))
79+
return struct_time(__truffle_gmtime_tuple__(seconds))
8080

8181

8282
@__builtin__
8383
def localtime(seconds):
84-
return struct_time(*__truffle_localtime_tuple__(seconds))
84+
return struct_time(__truffle_localtime_tuple__(seconds))

0 commit comments

Comments
 (0)