Skip to content

Commit 7e4cc96

Browse files
committed
Add start_new alias to start_new_thread
1 parent abe5d04 commit 7e4cc96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/ThreadModuleBuiltins.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ long getStackSize(long stackSize) {
206206
}
207207

208208
@Builtin(name = "start_new_thread", minNumOfPositionalArgs = 3, maxNumOfPositionalArgs = 4, constructsClass = PythonBuiltinClassType.PThread)
209+
@Builtin(name = "start_new", minNumOfPositionalArgs = 3, maxNumOfPositionalArgs = 4)
209210
@GenerateNodeFactory
210211
abstract static class StartNewThreadNode extends PythonBuiltinNode {
211212
@Specialization

0 commit comments

Comments
 (0)