Add textwrap.dedent, .indent, as str methods.

Aperta
#62,535 12 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by locating Python's textwrap module and reviewing the existing dedent and indent APIs, then inspect the related standard-library tests. Clarify the intended behavior for exposing these operations as str methods and add coverage that demonstrates the requested method forms and their completed behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

stdlib type-feature
BPO 18335
Nosy @warsaw, @terryjreedy, @ncoghlan, @ezio-melotti, @merwok, @Julian, @ericsnowcurrently, @vadmium, @serhiy-storchaka

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2013-07-01.05:33:49.321>
labels = ['type-feature']
title = 'Add textwrap.dedent, .indent, as str methods.'
updated_at = <Date 2013-09-01.01:58:54.523>
user = 'https://github.com/terryjreedy'

bugs.python.org fields:

activity = <Date 2013-09-01.01:58:54.523>
actor = 'martin.panter'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2013-07-01.05:33:49.321>
creator = 'terry.reedy'
dependencies = []
files = []
hgrepos = []
issue_num = 18335
keywords = []
message_count = 7.0
messages = ['192109', '192114', '192115', '192116', '192133', '192148', '196696']
nosy_count = 12.0
nosy_names = ['barry', 'terry.reedy', 'ncoghlan', 'ezio.melotti', 'eric.araujo', 'cvrebert', 'Julian', 'tshepang', 'eric.snow', 'martin.panter', 'serhiy.storchaka', 'SpaghettiToastBook']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue18335'
versions = ['Python 3.4']

Lingua principale
Python
Stelle
77.2k
Fork
36k
Merge medio
1g 9h
PR unite (30g)
558

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python/cpython

Tutte le issue di python/cpython

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.