From 475c0355a324ad2a62c589891e2e482cf0d27894 Mon Sep 17 00:00:00 2001 From: Frederick Date: Fri, 12 Apr 2019 09:32:59 -0700 Subject: [PATCH] minor grammer changes Thanks for you work! I was reading the docs and noticed a few minor things. one of them looked like this "`obj` act" I wasn't sure if act is a term I am not familiar with or if it was intended to be the end of object so I took a guess :man_shrugging:. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 19381e9..33828a3 100644 --- a/README.md +++ b/README.md @@ -72,15 +72,15 @@ assert p.get() is True #### Promise.cast(obj) -This function wraps the `obj` act as a `Promise` if possible. +This function wraps the `obj` ect as a `Promise` if possible. Python `Future`s are supported, with a callback to `promise.done` when resolved. -Have the same effects as `Promise.resolve(obj)`. +Has the same effects as `Promise.resolve(obj)`. #### Promise.for_dict(d) A special function that takes a dictionary of promises and turns them into a promise for a dictionary of values. In other words, this turns -an dictionary of promises for values into a promise for a dictionary +a dictionary of promises for values into a promise for a dictionary of values. #### Promise.is_thenable(obj)