Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b174c8

Browse files
authored
Merge pull request 0rpc#253 from timgates42/bugfix_typos
docs: Fix a few typos
2 parents 99ee6e4 + be57835 commit 9b174c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ exception is raised), we use the ERR event.
207207
- Name of the error (it should be the exception class name, or another
208208
meaningful keyword).
209209
- Human representation of the error (preferably in english).
210-
- If possible a pretty printed traceback of the call stack when the error occured.
210+
- If possible a pretty printed traceback of the call stack when the error occurred.
211211

212212
> A future version of the protocol will probably add a structured version of the
213213
> traceback, allowing machine-to-machine stack walking and better cross-language

zerorpc/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def fork_task_context(functor, context=None):
406406
- task1 is created to handle this event this task will be linked
407407
to the initial event context. zerorpc.Server does that for you.
408408
- task1 make use of some zerorpc.Client instances, the initial
409-
event context is transfered on every call.
409+
event context is transferred on every call.
410410
411411
- task1 spawn a new task2.
412412
- task2 make use of some zerorpc.Client instances, it's a fresh
@@ -415,7 +415,7 @@ def fork_task_context(functor, context=None):
415415
416416
- task1 spawn a new fork_task_context(task3).
417417
- task3 make use of some zerorpc.Client instances, the initial
418-
event context is transfered on every call.
418+
event context is transferred on every call.
419419
420420
A real use case is a distributed tracer. Each time a new event is
421421
created, a trace_id is injected in it or copied from the current task

0 commit comments

Comments
 (0)