mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
css fix
This commit is contained in:
Regular → Executable
+1
@@ -44,6 +44,7 @@ ul li ol{margin:0;padding:0 0 0 2.5em}
|
||||
<li><a href=your-first-python-program.html#whatsanobject>What’s an object?</a>
|
||||
</ol>
|
||||
<li><a href=your-first-python-program.html#indentingcode>Indenting code</a>
|
||||
<li><a href=your-first-python-program.html#exceptions>Exceptions</a>
|
||||
<li><a href=your-first-python-program.html#runningscripts>Running scripts</a>
|
||||
<li><a href=your-first-python-program.html#furtherreading>Further reading</a>
|
||||
</ol>
|
||||
|
||||
Regular → Executable
+1
-1
@@ -7,7 +7,7 @@ import sys
|
||||
# These selectors are kept regardless of whether this script thinks they are used.
|
||||
# Most of these match nodes that are dynamically inserted or manipulated by script
|
||||
# after the page has loaded, which is why a static analysis thinks they're unused.
|
||||
SELECTOR_EXCEPTIONS = ('.w', '.b', '.str', '.kwd', '.com', '.typ', '.lit', '.pun', '.tag', '.atn', '.atv', '.dec', 'pre .u', 'pre .u span')
|
||||
SELECTOR_EXCEPTIONS = ('.w', '.b', '.str', '.kwd', '.com', '.typ', '.lit', '.pun', '.tag', '.atn', '.atv', '.dec', 'pre .u', 'pre .u span', 'li ol')
|
||||
|
||||
filename = sys.argv[1]
|
||||
pqd = pq(filename=filename)
|
||||
|
||||
Reference in New Issue
Block a user