Prefix methods with a dot

This commit is contained in:
Alexander Hess 2020-10-19 19:14:29 +02:00
commit 049aeb104d
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
5 changed files with 27 additions and 27 deletions

View file

@ -581,7 +581,7 @@
}
},
"source": [
"A `complex` number comes with two **attributes** `real` and `imag` that return the two parts as `float` objects on their own."
"A `complex` number comes with two **attributes** `.real` and `.imag` that return the two parts as `float` objects on their own."
]
},
{
@ -640,7 +640,7 @@
}
},
"source": [
"Also, a `conjugate()` method is bound to every `complex` object. The [complex conjugate <img height=\"12\" style=\"display: inline-block\" src=\"../static/link/to_wiki.png\">](https://en.wikipedia.org/wiki/Complex_conjugate) is defined to be the complex number with identical real part but an imaginary part reversed in sign."
"Also, a `.conjugate()` method is bound to every `complex` object. The [complex conjugate <img height=\"12\" style=\"display: inline-block\" src=\"../static/link/to_wiki.png\">](https://en.wikipedia.org/wiki/Complex_conjugate) is defined to be the complex number with identical real part but an imaginary part reversed in sign."
]
},
{