called to convert the argument to an integer before packing. If no
:meth:`__index__` method exists, or the call to :meth:`__index__` raises
:exc:`TypeError`, then the :meth:`__int__` method is tried. However, the use
- of `__int__` is deprecated, and will raise :exc:`DeprecationWarning`.
+ of :meth:`__int__` is deprecated, and will raise :exc:`DeprecationWarning`.
.. versionchanged:: 2.7
Use of the :meth:`__index__` method for non-integers is new in 2.7.
.. note::
On Windows, SIGTERM is an alias for :meth:`terminate`. CTRL_C_EVENT and
- CTRL_BREAK_EVENT can be sent to processes started with a `creationflags`
+ CTRL_BREAK_EVENT can be sent to processes started with a *creationflags*
parameter which includes `CREATE_NEW_PROCESS_GROUP`.
.. versionadded:: 2.6
giving the source address that will be used for the connection.
(Contributed by Eldon Ziegler; :issue:`3972`.)
- The :meth:`recv_into` and `recvfrom_into` methods will now write
+ The :meth:`recv_into` and :meth:`recvfrom_into` methods will now write
into objects that support the buffer API, most usefully
the :class:`bytearray` and :class:`memoryview` objects. (Implemented by
Antoine Pitrou; :issue:`8104`.)