[New-bugs-announce] [issue28681] About function renaming in the tutorial

Xue Fuqiao report at bugs.python.org
Sat Nov 12 22:36:36 EST 2016


New submission from Xue Fuqiao:

In https://hg.python.org/cpython/file/6fbb7c9d77c6/Doc/tutorial/controlflow.rst#l295 :

   A function definition introduces the function name in the
   current symbol table. The value of the function name has a
   type that is recognized by the interpreter as a user-defined
   function.  This value can be assigned to another name which
   can then also be used as a function.  This serves as a general
   renaming mechanism

Maybe "aliasing" is a better term than "renaming" here, since the original function name can still be used after the "renaming".

----------
assignee: docs at python
components: Documentation
files: renaming.patch
keywords: patch
messages: 280683
nosy: docs at python, xfq
priority: normal
severity: normal
status: open
title: About function renaming in the tutorial
type: enhancement
versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45468/renaming.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28681>
_______________________________________


More information about the New-bugs-announce mailing list