浏览代码

update print some_function() to print(some_function())

update print some_function() to print(some_function())
dbojan 9 年之前
父节点
当前提交
9662783ba4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions.md

+ 1 - 1
functions.md

@@ -175,7 +175,7 @@ The `maximum` function returns the maximum of the parameters, in this case the n
 
 Note that a `return` statement without a value is equivalent to `return None`. `None` is a special type in Python that represents nothingness. For example, it is used to indicate that a variable has no value if it has a value of `None`.
 
-Every function implicitly contains a `return None` statement at the end unless you have written your own `return` statement. You can see this by running `print some_function()` where the function `some_function` does not use the `return` statement such as:
+Every function implicitly contains a `return None` statement at the end unless you have written your own `return` statement. You can see this by running `print(some_function())` where the function `some_function` does not use the `return` statement such as:
 
 ```python
 def some_function():