Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit95b1c49

Browse files
authored
Merge pull request#14 from kayoub5/master
Fix typo in __overloads__
2 parents6077016 +686da14 commit95b1c49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ iPy compatible "Overloads", on a class:
124124
from Systemimport String, Char, Int32
125125

126126
s= String.Overloads[Char, Int32]('A',10)
127-
s= String.__overloads[__Char, Int32]('A',10)
127+
s= String.__overloads__[Char, Int32]('A',10)
128128
```
129129

130130
##Using Generics
@@ -242,7 +242,7 @@ from System import Console
242242

243243
Console.WriteLine.Overloads[bool](true)
244244
Console.WriteLine.Overloads[str]("true")
245-
Console.WriteLine.__overloads[__int](42)
245+
Console.WriteLine.__overloads__[int](42)
246246
```
247247

248248
Similarly, generic methods may be bound at runtime using the subscript

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp