From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29390 invoked by alias); 9 Dec 2017 08:22:13 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 28930 invoked by uid 89); 9 Dec 2017 08:21:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 09 Dec 2017 08:21:04 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNaNW-0005vj-G7 for gdb-patches@sourceware.org; Sat, 09 Dec 2017 03:21:03 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNaNW-0005vf-CJ; Sat, 09 Dec 2017 03:20:58 -0500 Received: from [176.228.60.248] (port=4213 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eNaNV-0002ng-Ms; Sat, 09 Dec 2017 03:20:58 -0500 Date: Sat, 09 Dec 2017 08:22:00 -0000 Message-Id: <83o9n8uxbc.fsf@gnu.org> From: Eli Zaretskii To: Simon Marchi CC: gdb-patches@sourceware.org In-reply-to: <52711e30-004e-3a2c-d77c-e409a1f66d9e@ericsson.com> (message from Simon Marchi on Fri, 8 Dec 2017 15:46:59 -0500) Subject: Re: [PATCH] python doc: Rework Breakpoint.__init__ doc Reply-to: Eli Zaretskii References: <1512681799-12535-1-git-send-email-simon.marchi@ericsson.com> <83fu8lwbpa.fsf@gnu.org> <34fa897a804e9427dbe8ae3c107638e2@polymtl.ca> <83vahhuhqo.fsf@gnu.org> <52711e30-004e-3a2c-d77c-e409a1f66d9e@ericsson.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00214.txt.bz2 > CC: > From: Simon Marchi > Date: Fri, 8 Dec 2017 15:46:59 -0500 > > - don't use spec and function/line/label/source at the same time > - you should choose (exclusively) one form (the one that uses spec) or > the other (the one that uses function/line/label/source) My question was about the 2nd form only: which of the keywords can or cannot be used together, and what is the semantics of their combinations? I suspect the rules are the same as with the CLI command, so I think we should either tell that or add a cross-reference to where that's described for CLI. > However, showing two different constructors in the documentation is not technically > accurate with how it is implemented in the Python-support code, because it is > not possible to have two constructors with different signatures in Python. That's okay, since the manual says "2 forms", not "2 constructors". Right?