[docs] (no subject)

Tobias Fielitz tobias.fielitz at redmarker.com.au
Wed Jul 25 00:24:51 EDT 2018


My bad. I mixed up Context and ContextVar. Please disregard the previous
email.

On Wed, Jul 25, 2018 at 2:21 PM, Tobias Fielitz <
tobias.fielitz at redmarker.com.au> wrote:

> 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/41bf1bd9/attachment.html>


More information about the docs mailing list