Skip to content

Commit

Permalink
improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Mar 30, 2018
1 parent fc27afd commit ae3ec45
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/NCDatasets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,8 @@ Base.in(name::AbstractString,a::NCIterable) = name in keys(a)
"""
start(ds::Dataset)
Allow to iterate over a dataset.
```julia
for (varname,var) in ds
@show (varname,size(var))
Expand All @@ -1234,7 +1236,8 @@ Base.next(a::NCIterable,state) = (state[1] => a[shift!(state)], state)

"""
escape(val)
escape backslash, dollar and quote
Escape backslash, dollar and quote from string `val`.
"""
function escape(val)
valescaped = val
Expand Down

0 comments on commit ae3ec45

Please sign in to comment.