From 15912feec0b11c6590168128487862a6da2b1ac9 Mon Sep 17 00:00:00 2001 From: "Dipl.-Ing. Dr. Markus Weninger, BSc" Date: Sat, 28 Jun 2025 21:25:45 +0200 Subject: [PATCH] Update static_typing.rst The documentations said it shows the same callback two times, one time with dynamic typing and one time with type hints. In reality, two different callbacks were shown. This has been fixed. --- tutorials/scripting/gdscript/static_typing.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tutorials/scripting/gdscript/static_typing.rst b/tutorials/scripting/gdscript/static_typing.rst index 1dad8e2eb..0029f78db 100644 --- a/tutorials/scripting/gdscript/static_typing.rst +++ b/tutorials/scripting/gdscript/static_typing.rst @@ -439,8 +439,7 @@ signal in a dynamic style: And the same callback, with type hints: :: - - func _on_area_entered(area: CollisionObject2D) -> void: + func _on_area_2d_body_entered(body: PhysicsBody2D) -> void: pass Warning system