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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20268>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to