Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/library/string.rst
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ non-empty format specification typically modifies the result.

The general form of a *standard format specifier* is:

.. productionlist:: sf
.. productionlist::
format_spec: [[`fill`]`align`][`sign`][#][0][`width`][`grouping_option`][.`precision`][`type`]
fill: <any character>
align: "<" | ">" | "=" | "^"
Expand Down
2 changes: 1 addition & 1 deletion Doc/reference/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Notation
The descriptions of lexical analysis and syntax use a modified BNF grammar
notation. This uses the following style of definition:

.. productionlist:: *
.. productionlist::
name: `lc_letter` (`lc_letter` | "_")*
lc_letter: "a"..."z"

Expand Down
2 changes: 1 addition & 1 deletion Lib/asyncio/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def create_task(self, coro, *, name=None):
def call_soon_threadsafe(self, callback, *args):
raise NotImplementedError

async def run_in_executor(self, executor, func, *args):
def run_in_executor(self, executor, func, *args):
raise NotImplementedError

def set_default_executor(self, executor):
Expand Down
2 changes: 1 addition & 1 deletion Lib/multiprocessing/synchronize.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def wait(self, timeout=None):
def notify(self, n=1):
assert self._lock._semlock._is_mine(), 'lock is not owned'
assert not self._wait_semaphore.acquire(
False), ('notify: Should not have been able to acquire'
False), ('notify: Should not have been able to acquire '
+ '_wait_semaphore')

# to take account of timeouts since last notify*() we subtract
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change the method asyncio.AbstractEventLoop.run_in_executor to not be a coroutine.