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/2013-October/129656.html below:

[Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore().

[Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore(). [Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore().Ethan Furman ethan at stoneleaf.us
Thu Oct 17 18:05:48 CEST 2013
On 10/17/2013 08:26 AM, Nick Coghlan wrote:
>
>      # Arbitrarily nested search loop
>      with exit_label() as found:
>          for i in range(x):
>              for j in range(y):
>                  if matches(i, j):
>                      found.exit((i, j))
>      if found:
>          print(found.value)

+1 !


>          @property
>          def exc(self):
>              if self._exc is self._exc:

   typo


Thanks for this, I like it!  :)

--
~Ethan~
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