mirror of https://github.com/python/cpython
bpo-36167: fix an incorrect capitalization (GH-14482)
This commit is contained in:
parent
465e5d5bcb
commit
3aa48b88c7
|
@ -659,7 +659,7 @@ How can my code discover the name of an object?
|
||||||
-----------------------------------------------
|
-----------------------------------------------
|
||||||
|
|
||||||
Generally speaking, it can't, because objects don't really have names.
|
Generally speaking, it can't, because objects don't really have names.
|
||||||
Essentially, assignment always binds a name to a value; The same is true of
|
Essentially, assignment always binds a name to a value; the same is true of
|
||||||
``def`` and ``class`` statements, but in that case the value is a
|
``def`` and ``class`` statements, but in that case the value is a
|
||||||
callable. Consider the following code::
|
callable. Consider the following code::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue