[Python-checkins] [python/cpython] cb41b2: bpo-29463: Add docstring field to some AST nodes. ...

GitHub noreply at github.com
Wed Feb 22 10:32:01 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: cb41b2766de646435743b6af7dd152751b54e73f
      https://github.com/python/cpython/commit/cb41b2766de646435743b6af7dd152751b54e73f
  Author: INADA Naoki <methane at users.noreply.github.com>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

  Changed paths:
    M Doc/library/ast.rst
    M Doc/whatsnew/3.7.rst
    M Include/Python-ast.h
    M Lib/ast.py
    M Lib/test/test_ast.py
    M Lib/test/test_opcodes.py
    M Misc/NEWS
    M Parser/Python.asdl
    M Python/Python-ast.c
    M Python/ast.c
    M Python/compile.c
    M Python/future.c
    M Python/importlib.h
    M Python/importlib_external.h
    M Tools/parser/unparse.py

  Log Message:
  -----------
  bpo-29463: Add docstring field to some AST nodes. (#46)

* bpo-29463: Add docstring field to some AST nodes.

ClassDef, ModuleDef, FunctionDef, and AsyncFunctionDef has docstring
field for now.  It was first statement of there body.

* fix document.  thanks travis!

* doc fixes




More information about the Python-checkins mailing list