From eb34ce588bd67ba3aaf1de2a1a6b41ee0320e10c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20H=C3=B6ner?= Date: Sat, 27 Jul 2019 04:45:53 +0200 Subject: [PATCH] Remove mention of Python 2 --- guide/src/function.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/guide/src/function.md b/guide/src/function.md index 1ead9a3b..64ba6a69 100644 --- a/guide/src/function.md +++ b/guide/src/function.md @@ -53,9 +53,7 @@ In order to make the function signature available to Python to be retrieved via formatted like in the example below. Please note that the newline after the `--` is mandatory. The `/` signifies the end of positional-only arguments. This is not a feature of this library in particular, but the general format used by -CPython for annotating signatures of built-in functions. Function signatures for -built-ins are new in Python 3 — in Python 2, they are simply considered to be a -part of the docstring. +CPython for annotating signatures of built-in functions. ```rust use pyo3::prelude::*;