A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-March/147635.html below:

[Python-Dev] PEP 544: Protocols

[Python-Dev] PEP 544: Protocols [Python-Dev] PEP 544: ProtocolsRandom832 random832 at fastmail.com
Mon Mar 20 14:39:36 EDT 2017
On Mon, Mar 20, 2017, at 14:07, Brett Cannon wrote:
> What is a "trivial body"? I don't know of any such definition anywhere in
> Python so this is too loosely defined. You also don't say what happens if
> the body isn't trivial. Are tools expected to raise an error?

My assumption would be that a trivial body is any body consisting of
only a docstring and/or a "pass" statement.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4