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/2015-January/137847.html below:

[Python-Dev] PEP 484

[Python-Dev] PEP 484 [Python-Dev] PEP 484Mario Figueiredo marfig at gmail.com
Sat Jan 24 00:05:00 CET 2015
Please don't clutter executable code. We need to read it without growing an
headache.

Much better is:

      def myfunction(arg1, arg2):
      """
      Normal docstring...
      @hint: (str, int) -> bool
      """
          return True

While I agree type hinting, for the purposes of static analysis, has no
place in __doc__, I think that we could live with that. Otherwise:

      def myfunction(arg1, arg2):
      """
      Normal docstring...
      """
      "@hint: (str, int) -> bool"
          return True
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150124/3a71b09b/attachment.html>
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