diff options
| author | Ned Deily <nad@acm.org> | 2011-07-13 15:09:49 -0700 |
|---|---|---|
| committer | Ned Deily <nad@acm.org> | 2011-07-13 15:09:49 -0700 |
| commit | df13a6716268ac02fe6dc85fd26fdf93282393bd (patch) | |
| tree | f374150cdb7cb1889db38e51f353858f8faae784 /Doc/tutorial/classes.rst | |
| parent | 9faa1d6960576d659b7de068ba5592a5ea090475 (diff) | |
| parent | 53702a5af62f046a8717d8ac284e2ea4ee8ca4ba (diff) | |
| download | cpython-df13a6716268ac02fe6dc85fd26fdf93282393bd.tar.gz | |
Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'
as the processor type on some Mac systems.
Diffstat (limited to 'Doc/tutorial/classes.rst')
| -rw-r--r-- | Doc/tutorial/classes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index bf1e26e123..336d0740dd 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -695,9 +695,9 @@ example, the following code will print B, C, D in that order:: class D(C): pass - for c in [B, C, D]: + for cls in [B, C, D]: try: - raise c() + raise cls() except D: print("D") except C: |
