Skip to content

Commit

Permalink
docs: Fix a few typos
Browse files Browse the repository at this point in the history
There are small typos in:
- docs/behaviors.rst
- src/_pylibmcmodule.c

Fixes:
- Should read `while` rather than `wiile`.
- Should read `allotted` rather than `alloted`.
  • Loading branch information
timgates42 authored and lericson committed Aug 5, 2022
1 parent 2b9f983 commit 20bbdd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/behaviors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Most people desire the classical "I don't really care" type of failover
support: if a server goes down, just use another one. This case is supported,
but not by default. As explained above, the default distribution mechanism is
not very smart, and libmemcached doesn't support any meaningful failover for
it. If a server goes down, it stays down, and all of its alloted keys will
it. If a server goes down, it stays down, and all of its allotted keys will
simply fail. The recommended failover behaviors is for that reason::

mc.behaviors['ketama'] = True
Expand Down
2 changes: 1 addition & 1 deletion src/_pylibmcmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ static int _PylibMC_Deflate(char *value, Py_ssize_t value_len,
/* FIXME Failures are entirely silent. */
int rc;

/* n.b.: this is called wiile *not* holding the GIL, and must not
/* n.b.: this is called while *not* holding the GIL, and must not
contain Python-API code */

ssize_t out_sz;
Expand Down

0 comments on commit 20bbdd4

Please sign in to comment.