Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: ram@zedat.fu-berlin.de (Stefan Ram) Newsgroups: comp.lang.python Subject: Re: can you improve this text-only beginner copy program? Date: 28 Aug 2025 20:50:50 GMT Organization: Stefan Ram Lines: 8 Expires: 1 Jun 2026 11:59:58 GMT Message-ID: References: <87a53kdfpx.fsf@somewhere.edu> <108qdd0$1jcfd$1@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de 4NKBgDSEpLIkIv0aL6qWrAUY74T0L93g7TsEAwpDIUY9aj Cancel-Lock: sha1:kNSPVTDKbr49X1cD5c4b2rzNG7c= sha256:PGYSCrw7mLTkrslyz27ST3gjzdVWoe5mQF4OHN13BgI= X-Copyright: (C) Copyright 2025 Stefan Ram. All rights reserved. Distribution through any means other than regular usenet channels is forbidden. It is forbidden to publish this article in the Web, to change URIs of this article into links, and to transfer the body without this notice, but quotations of parts in other Usenet posts are allowed. X-No-Archive: Yes Archive: no X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some services to mirror the article in the web. But the article may be kept on a Usenet archive server with only NNTP access. X-No-Html: yes Content-Language: en-US Xref: csiph.com comp.lang.python:197549 Mark Bourne wrote or quoted: >I don't know if Sphinx can extract types from type hints but, Yes, Sphinx can extract types from type hints, and there are settings like "autodoc_typehints", "autodoc_typehints_description_target", "autodoc_typehints_format" since version 2.1 or later.