mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
consistent capitalization
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>Porting code to Python 3 with 2to3 - Dive into Python 3</title>
|
||||
<title>Porting code to Python 3 with 2to3 - Dive Into Python 3</title>
|
||||
<!--[if IE]><script src=j/html5.js></script><![endif]-->
|
||||
<link rel=stylesheet href=dip3.css>
|
||||
<style>
|
||||
@@ -22,7 +22,7 @@ h3:before{counter-increment:h3;content:'A.' counter(h2) '.' counter(h3) '. '}
|
||||
|
||||
<p id=toc>
|
||||
|
||||
<h2 id=divingin>Diving in</h2>
|
||||
<h2 id=divingin>Diving In</h2>
|
||||
|
||||
<p class=f>Virtually all Python 2 programs will need at least some tweaking to run properly under Python 3. To help with this transition, Python 3 comes with a utility script called <code>2to3</code>, which takes your actual Python 2 source code as input and auto-converts as much as it can to Python 3. <a href=case-study-porting-chardet-to-python-3.html#running2to3>Case study: porting <code>chardet</code> to Python 3</a> describes how to run the <code>2to3</code> script, then shows some things it can’t fix automatically. This appendix documents what it <em>can</em> fix automatically.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user