[New-bugs-announce] [issue20268] Argument Clinic: support cloning existing functions

Larry Hastings report at bugs.python.org
Wed Jan 15 06:49:19 CET 2014


New submission from Larry Hastings:

It was a quick hack: Clinic now has a syntax for cloning an existing
function!  The first line of the function block should be 

    module.class.new_function [as c_basename] = module.class.existing_fn

Hurry up and give me a LGTM so you can use it everywhere! :D

----------
assignee: larry
files: larry.clinic.clone.functions.diff.1.txt
messages: 208143
nosy: georg.brandl, larry, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Argument Clinic: support cloning existing functions
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file33476/larry.clinic.clone.functions.diff.1.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20268>
_______________________________________


More information about the New-bugs-announce mailing list