Skip to content

Commit

Permalink
Merge pull request #71 from fmoor/patch-1
Browse files Browse the repository at this point in the history
minor grammar changes
  • Loading branch information
syrusakbary authored Dec 18, 2019
2 parents 4cc0cc6 + 475c035 commit a9fde56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a9fde56

Please sign in to comment.