Prefix methods with a dot
This commit is contained in:
parent
f670414395
commit
049aeb104d
5 changed files with 27 additions and 27 deletions
|
|
@ -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."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue