浏览代码

Fixing incorrect inter-linking

Swaroop C H 11 年之前
父节点
当前提交
c0ddde1e01
共有 4 个文件被更改,包括 5 次插入5 次删除
  1. 1 1
      basics.asciidoc
  2. 1 1
      functions.asciidoc
  3. 2 2
      modules.asciidoc
  4. 1 1
      more.asciidoc

+ 1 - 1
basics.asciidoc

@@ -443,7 +443,7 @@ print i
 Sometimes, there is an implicit assumption where you don't need to use a backslash. This is the
 Sometimes, there is an implicit assumption where you don't need to use a backslash. This is the
 case where the logical line has a starting parentheses, starting square brackets or a starting
 case where the logical line has a starting parentheses, starting square brackets or a starting
 curly braces but not an ending one. This is called *implicit line joining*. You can see this in
 curly braces but not an ending one. This is called *implicit line joining*. You can see this in
-action when we write programs using <<lists,lists>> in later chapters.
+action when we write programs using <<list,lists>> in later chapters.
 
 
 [[indentation]]
 [[indentation]]
 === Indentation
 === Indentation

+ 1 - 1
functions.asciidoc

@@ -325,7 +325,7 @@ include::programs/function_docstring.txt[]
 .How It Works
 .How It Works
 
 
 A string on the first logical line of a function is the *docstring* for that function. Note that
 A string on the first logical line of a function is the *docstring* for that function. Note that
-DocStrings also apply to <<modules,modules>> and <<oop,classes>> which we will learn about in the
+DocStrings also apply to <<module,modules>> and <<oop,classes>> which we will learn about in the
 respective chapters.
 respective chapters.
 
 
 The convention followed for a docstring is a multi-line string where the first line starts with a
 The convention followed for a docstring is a multi-line string where the first line starts with a

+ 2 - 2
modules.asciidoc

@@ -1,4 +1,4 @@
-[[modules]]
+[[module]]
 == Modules
 == Modules
 
 
 You have seen how you can reuse code in your program by defining functions once. What if you wanted
 You have seen how you can reuse code in your program by defining functions once. What if you wanted
@@ -302,7 +302,7 @@ This is how you would structure the folders:
 --------------------------------------------------
 --------------------------------------------------
 
 
 Packages are just a convenience to hierarchically organize modules. You will see many instances of
 Packages are just a convenience to hierarchically organize modules. You will see many instances of
-this in the <<standard_library,standard library>>.
+this in the <<stdlib,standard library>>.
 
 
 === Summary
 === Summary
 
 

+ 1 - 1
more.asciidoc

@@ -213,7 +213,7 @@ See:
 -  http://www.ibm.com/developerworks/linux/library/l-cpdecor.html
 -  http://www.ibm.com/developerworks/linux/library/l-cpdecor.html
 - http://toumorokoshi.github.io/dry-principles-through-python-decorators.html
 - http://toumorokoshi.github.io/dry-principles-through-python-decorators.html
 
 
-[[2_vs_3]]
+[[two_vs_three]]
 === Differences between Python 2 and Python 3
 === Differences between Python 2 and Python 3
 
 
 See:
 See: