Skip to content

Commit 5b0572f

Browse files
authored
Update noteworthy-differences.md
1 parent 7a737a2 commit 5b0572f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/manual/noteworthy-differences.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ For users coming to Julia from R, these are some noteworthy differences:
220220
the function `f(x=rand()) = x` returns a new random number every time it is invoked without argument.
221221
On the other hand, the function `g(x=[1,2]) = push!(x,3)` returns `[1,2,3]` every time it is called
222222
as `g()`.
223-
* In Julia, keyword arguments must be passed using keywords, unlike python in which it is usually possible.
224-
Attempting to pass a keyword argument as a positional argument alters the method signature leading to
225-
a `MethodError` or calling of the wrong method.
223+
* In Julia, keyword arguments must be passed using keywords, unlike python in which it is usually possible
224+
to pass them positionally. Attempting to pass a keyword argument positionally alters the method
225+
signature leading to a `MethodError` or calling of the wrong method.
226226
* In Julia `%` is the remainder operator, whereas in Python it is the modulus.
227227
* The commonly used `Int` type corresponds to the machine integer type (`Int32` or `Int64`).
228228
This means it will overflow, such that `2^64 == 0`. If you need larger values use another appropriate type,

0 commit comments

Comments
 (0)