Package: julia / 0.4.7-6

fix-spelling-error-in-binary.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Description: Fix lintian warning spelling-error-in-binary
Author: Graham Inggs <ginggs@debian.org>
Forwarded: https://github.com/JuliaLang/julia/pull/15640
Applied-Upstream: 5.0.0, https://github.com/JuliaLang/julia/commit/ebec14a9896824a4cd1b8b03a222a321c4d5a6a3
Last-Update: 2016-03-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/contrib/julia-mode.el
+++ b/contrib/julia-mode.el
@@ -100,7 +100,7 @@
     (modify-syntax-entry ?\) ")( " table)
     ;; Here, we treat ' as punctuation (when it's used for transpose),
     ;; see our use of `julia-char-regex' for handling ' as a character
-    ;; delimeter
+    ;; delimiter
     (modify-syntax-entry ?'  "." table)
     (modify-syntax-entry ?\" "\"" table)
     (modify-syntax-entry ?` "\"" table)
@@ -264,7 +264,7 @@
   (list "end" "else" "elseif" "catch" "finally"))
 
 (defun julia-stringify-triple-quote ()
-  "Put `syntax-table' property on triple-quoted string delimeters.
+  "Put `syntax-table' property on triple-quoted string delimiters.
 
 Based on `python-syntax-stringify'."
   (let* ((string-start-pos (- (point) 3))
--- a/doc/stdlib/io-network.rst
+++ b/doc/stdlib/io-network.rst
@@ -502,7 +502,7 @@
 
    .. Docstring generated from Julia source
 
-   Read a matrix from the source where each line (separated by ``eol``\ ) gives one row, with elements separated by the given delimeter. The source can be a text file, stream or byte array. Memory mapped files can be used by passing the byte array representation of the mapped segment as source.
+   Read a matrix from the source where each line (separated by ``eol``\ ) gives one row, with elements separated by the given delimiter. The source can be a text file, stream or byte array. Memory mapped files can be used by passing the byte array representation of the mapped segment as source.
 
    If ``T`` is a numeric type, the result is an array of that type, with any non-numeric elements as ``NaN`` for floating-point types, or zero. Other useful values of ``T`` include ``ASCIIString``\ , ``AbstractString``\ , and ``Any``\ .
 
@@ -552,7 +552,7 @@
 
    .. Docstring generated from Julia source
 
-   Write ``A`` (a vector, matrix or an iterable collection of iterable rows) as text to ``f`` (either a filename string or an ``IO`` stream) using the given delimeter ``delim`` (which defaults to tab, but can be any printable Julia object, typically a ``Char`` or ``AbstractString``\ ).
+   Write ``A`` (a vector, matrix or an iterable collection of iterable rows) as text to ``f`` (either a filename string or an ``IO`` stream) using the given delimiter ``delim`` (which defaults to tab, but can be any printable Julia object, typically a ``Char`` or ``AbstractString``\ ).
 
    For example, two vectors ``x`` and ``y`` of the same length can be written as two columns of tab-delimited text to ``f`` by either ``writedlm(f, [x y])`` or by ``writedlm(f, zip(x, y))``\ .
 
--- a/base/docs/helpdb.jl
+++ b/base/docs/helpdb.jl
@@ -759,7 +759,7 @@
 doc"""
     writedlm(f, A, delim='\\t')
 
-Write `A` (a vector, matrix or an iterable collection of iterable rows) as text to `f` (either a filename string or an `IO` stream) using the given delimeter `delim` (which defaults to tab, but can be any printable Julia object, typically a `Char` or `AbstractString`).
+Write `A` (a vector, matrix or an iterable collection of iterable rows) as text to `f` (either a filename string or an `IO` stream) using the given delimiter `delim` (which defaults to tab, but can be any printable Julia object, typically a `Char` or `AbstractString`).
 
 For example, two vectors `x` and `y` of the same length can be written as two columns of tab-delimited text to `f` by either `writedlm(f, [x y])` or by `writedlm(f, zip(x, y))`.
 """
@@ -4579,7 +4579,7 @@
 doc"""
     readdlm(source, delim::Char, T::Type, eol::Char; header=false, skipstart=0, skipblanks=true, use_mmap, ignore_invalid_chars=false, quotes=true, dims, comments=true, comment_char='#')
 
-Read a matrix from the source where each line (separated by `eol`) gives one row, with elements separated by the given delimeter. The source can be a text file, stream or byte array. Memory mapped files can be used by passing the byte array representation of the mapped segment as source.
+Read a matrix from the source where each line (separated by `eol`) gives one row, with elements separated by the given delimiter. The source can be a text file, stream or byte array. Memory mapped files can be used by passing the byte array representation of the mapped segment as source.
 
 If `T` is a numeric type, the result is an array of that type, with any non-numeric elements as `NaN` for floating-point types, or zero. Other useful values of `T` include `ASCIIString`, `AbstractString`, and `Any`.