diff options
Diffstat (limited to 'Python.wiki')
-rw-r--r-- | Python.wiki | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Python.wiki b/Python.wiki index a0e3faa..4921020 100644 --- a/Python.wiki +++ b/Python.wiki @@ -4,6 +4,22 @@ - [[Python Operators]] :: And operator overloading - [[Python Pipeline]] += String IO = +Open strings as file descriptors + +{{{python +import io +f = io.StringIO("Hello, World") +f.read() +# ⇒ 'H' +}}} + + += Disable typing for line = +{{{python +somethintg_which_doesnt_typecheck() # type: ignore +}}} + = Properties = property |