Skip to content

Commit

Permalink
Fix casing on Accumulator constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielArndt committed Mar 30, 2016
1 parent c354b37 commit 7d9abb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/accumulators.rst
Expand Up @@ -14,10 +14,10 @@ reflect the counts::

There are different ways to construct an accumulator/counter::

a = accumulator(K, V) # construct an accumulator with key-type K and
a = Accumulator(K, V) # construct an accumulator with key-type K and
# accumulated value type V

a = accumulator(dict) # construct an accumulator from a dictionary
a = Accumulator(dict) # construct an accumulator from a dictionary

a = counter(K) # construct a counter, i.e. an accumulator with
# key type K and value type Int
Expand Down

0 comments on commit 7d9abb2

Please sign in to comment.