[docs] (no subject)
Tobias Fielitz
tobias.fielitz at redmarker.com.au
Wed Jul 25 00:21:57 EDT 2018
1. Context.get() requires "key" parameter
https://docs.python.org/3/library/contextvars.html#contextvars.Context
I the asyncio example: "client's address by calling
'client_addr_var.get()'" indicates .get() does not require any parameters,
but it does:
Context.get.__doc__
> 'D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.'
contextvars==2.2
2. Context.set() is not documented
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20180725/6b0511fb/attachment.html>
More information about the docs
mailing list