Error at (21, 57): Expected closing ")" after call arguments

Godot Version

v4.2.1.stable.official [b09f793f5]

Code

12 func _unhandled_input(event):
13 	if event is InputEventMouseButton:
14 Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
15 	elif event.is_action_pressed("ui_cancel"):
16 Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
17 	if Input.get_xmouse_mode() == Input.MOUSE_MODE_CAPTURED:
18 		if event is InputEventMouseRotation:
19 			neck.rotate_y(-event.relative.x * 0.01)
20 			camera.rotate_x(-event.relative.y * 0.01)
21 			camera.rotation.x = clamp(camera.rotation.x deg2rad(-30), deg2rad(60))

What is the problem here? (Using python btw)

There’s no operator or comma after camera.rotation.x so the syntax parser expects the end of the function.