Use '' instead of "" for repr, as that is the default repr.

This commit is contained in:
Guido van Rossum 2007-10-15 17:13:07 +00:00
parent 89b4ee311a
commit 82dcb0728d
1 changed files with 3 additions and 3 deletions

View File

@ -82,9 +82,9 @@ Python versions::
+--------------+-------------+------------+--------------------+ +--------------+-------------+------------+--------------------+
| C name | 2.x repr | 3.0a1 repr | 3.0a2 repr | | C name | 2.x repr | 3.0a1 repr | 3.0a2 repr |
+--------------+-------------+------------+--------------------+ +--------------+-------------+------------+--------------------+
| PyUnicode | unicode u"" | str "" | str "" | | PyUnicode | unicode u'' | str '' | str '' |
| PyString | str "" | str8 s"" | bytes b"" | | PyString | str '' | str8 s'' | bytes b'' |
| PyBytes | N/A | bytes b"" | buffer buffer(b"") | | PyBytes | N/A | bytes b'' | buffer buffer(b'') |
| PyBuffer | buffer | buffer | N/A | | PyBuffer | buffer | buffer | N/A |
| PyMemoryView | N/A | memoryview | memoryview | | PyMemoryView | N/A | memoryview | memoryview |
+--------------+-------------+------------+--------------------+ +--------------+-------------+------------+--------------------+