From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B840CA9EB9 for ; Tue, 29 Oct 2019 05:42:53 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 84BAC20650 for ; Tue, 29 Oct 2019 05:42:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 84BAC20650 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=darmarit.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id D24766B0005; Tue, 29 Oct 2019 01:42:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CD6116B0006; Tue, 29 Oct 2019 01:42:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BC3B16B0007; Tue, 29 Oct 2019 01:42:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0200.hostedemail.com [216.40.44.200]) by kanga.kvack.org (Postfix) with ESMTP id 9AC576B0005 for ; Tue, 29 Oct 2019 01:42:51 -0400 (EDT) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with SMTP id 361C9180AD83E for ; Tue, 29 Oct 2019 05:42:51 +0000 (UTC) X-FDA: 76095728142.28.nose13_70270b0bff925 X-HE-Tag: nose13_70270b0bff925 X-Filterd-Recvd-Size: 2971 Received: from smtp3-1.goneo.de (smtp3-1.goneo.de [85.220.129.38]) by imf16.hostedemail.com (Postfix) with ESMTP for ; Tue, 29 Oct 2019 05:42:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 1EC9B24007F; Tue, 29 Oct 2019 06:42:49 +0100 (CET) X-Virus-Scanned: by goneo Received: from smtp3.goneo.de ([127.0.0.1]) by localhost (smtp3.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qZjqyjNzm7GN; Tue, 29 Oct 2019 06:42:47 +0100 (CET) Received: from [192.168.1.103] (dyndsl-037-138-239-146.ewe-ip-backbone.de [37.138.239.146]) by smtp3.goneo.de (Postfix) with ESMTPSA id 024AA23F854; Tue, 29 Oct 2019 06:42:46 +0100 (CET) Subject: Re: [PATCH v2] kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers' To: Changbin Du , Jani Nikula Cc: Jonathan Corbet , linux-pci@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-crypto@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-wireless@vger.kernel.org, linux-fpga@vger.kernel.org, linux-usb@vger.kernel.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, Matthew Wilcox , Thomas Zimmermann References: <20191020131717.28990-1-changbin.du@gmail.com> <20191024121940.1d6a64df@lwn.net> <87woctb9cj.fsf@intel.com> <20191025144802.uixg2crhw6h7gghq@mail.google.com> <87v9s99q9l.fsf@intel.com> <20191029003120.llve32crfw63ovpw@mail.google.com> From: Markus Heiser Message-ID: <36c4dcfb-5425-b4bc-a5e9-4fd1458c8385@darmarit.de> Date: Tue, 29 Oct 2019 06:42:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191029003120.llve32crfw63ovpw@mail.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Am 29.10.19 um 01:31 schrieb Changbin Du: >> But is it, really? I agree with Jon about the distinction between None >> and '' being confusing. >> > Here python is different from C. Both empty string and None are False in python. > Note such condition is common in python. The one is a empty string str(''), its bool('') value is False. | >>> type(''), bool('') | (, False) The other is a NoneType, its bool(None) value is False. | >>> type(None), bool(None) | (, False) None often used like NULL (pointer). E.g if a function does not give an explicit return value, the returned value is None. | >>> def foo(): | ... pass | ... | >>> print(foo()) | None -- Markus --