From 686da1449e93ec4ab4fa9a2bba5296a2f3c7539b Mon Sep 17 00:00:00 2001 From: Ayoub Kaanich Date: Sat, 5 Oct 2019 12:47:24 +0200 Subject: [PATCH] Fix typo in __overloads__ --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 80eaecf..b6c582e 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ iPy compatible "Overloads", on a class: from System import String, Char, Int32 s = String.Overloads[Char, Int32]('A', 10) -s = String.__overloads[__Char, Int32]('A', 10) +s = String.__overloads__[Char, Int32]('A', 10) ``` ## Using Generics @@ -242,7 +242,7 @@ from System import Console Console.WriteLine.Overloads[bool](true) Console.WriteLine.Overloads[str]("true") -Console.WriteLine.__overloads[__int](42) +Console.WriteLine.__overloads__[int](42) ``` Similarly, generic methods may be bound at runtime using the subscript