Skip to content

Instantly share code, notes, and snippets.

@MichaelAquilina
Created August 1, 2014 15:50
Show Gist options
  • Save MichaelAquilina/57f9bf3332810e95461c to your computer and use it in GitHub Desktop.
Save MichaelAquilina/57f9bf3332810e95461c to your computer and use it in GitHub Desktop.
pprintp html text
<!DOCTYPE html>
<html class=" ">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>wolever/pprintpp · GitHub</title>
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub" />
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub" />
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-114.png" />
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-144.png" />
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144.png" />
<meta property="fb:app_id" content="1401488693436528"/>
<meta content="@github" name="twitter:site" /><meta content="summary" name="twitter:card" /><meta content="wolever/pprintpp" name="twitter:title" /><meta content="pprintpp - pprint++: a drop-in replacement for pprint that&amp;#39;s actually pretty" name="twitter:description" /><meta content="https://avatars3.githubusercontent.com/u/59575?s=400" name="twitter:image:src" />
<meta content="GitHub" property="og:site_name" /><meta content="object" property="og:type" /><meta content="https://avatars3.githubusercontent.com/u/59575?s=400" property="og:image" /><meta content="wolever/pprintpp" property="og:title" /><meta content="https://github.com/wolever/pprintpp" property="og:url" /><meta content="pprintpp - pprint++: a drop-in replacement for pprint that&#39;s actually pretty" property="og:description" />
<link rel="assets" href="https://assets-cdn.github.com/">
<link rel="conduit-xhr" href="https://ghconduit.com:25035">
<meta name="msapplication-TileImage" content="/windows-tile.png" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="selected-link" value="repo_source" data-pjax-transient />
<meta name="google-analytics" content="UA-3769691-2">
<meta content="collector.githubapp.com" name="octolytics-host" /><meta content="collector-cdn.github.com" name="octolytics-script-host" /><meta content="github" name="octolytics-app-id" /><meta content="1FDCC814:1CCC:5560DCF:53B15AFA" name="octolytics-dimension-request_id" />
<link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico" />
<meta content="authenticity_token" name="csrf-param" />
<meta content="JxtjVRhmF4cbYSKdynhGzJemGX6g0cq1ImZ0XZxehoVmxhGaU69QBaAc4wPAM14yrbQ602emee4MARsttysizg==" name="csrf-token" />
<link href="https://assets-cdn.github.com/assets/github-bbf4e7b5ed0367744288dcb496d8dcb1b048f4a2.css" media="all" rel="stylesheet" type="text/css" />
<link href="https://assets-cdn.github.com/assets/github2-830b6eccd2ef85b203e66317cf87f0e48fa5f878.css" media="all" rel="stylesheet" type="text/css" />
<meta http-equiv="x-pjax-version" content="0b77784be2b2385480f4dba2d7968d09">
<meta name="description" content="pprintpp - pprint++: a drop-in replacement for pprint that&#39;s actually pretty" />
<meta content="59575" name="octolytics-dimension-user_id" /><meta content="wolever" name="octolytics-dimension-user_login" /><meta content="18275035" name="octolytics-dimension-repository_id" /><meta content="wolever/pprintpp" name="octolytics-dimension-repository_nwo" /><meta content="true" name="octolytics-dimension-repository_public" /><meta content="false" name="octolytics-dimension-repository_is_fork" /><meta content="18275035" name="octolytics-dimension-repository_network_root_id" /><meta content="wolever/pprintpp" name="octolytics-dimension-repository_network_root_nwo" />
<link href="https://github.com/wolever/pprintpp/commits/master.atom" rel="alternate" title="Recent Commits to pprintpp:master" type="application/atom+xml" />
</head>
<body class="logged_out env-production vis-public">
<a href="#start-of-content" tabindex="1" class="accessibility-aid js-skip-to-content">Skip to content</a>
<div class="wrapper">
<div class="header header-logged-out">
<div class="container clearfix">
<a class="header-logo-wordmark" href="https://github.com/">
<span class="mega-octicon octicon-logo-github"></span>
</a>
<div class="header-actions">
<a class="button primary" href="/join">Sign up</a>
<a class="button signin" href="/login?return_to=%2Fwolever%2Fpprintpp">Sign in</a>
</div>
<div class="command-bar js-command-bar in-repository">
<ul class="top-nav">
<li class="explore"><a href="/explore">Explore</a></li>
<li class="features"><a href="/features">Features</a></li>
<li class="enterprise"><a href="https://enterprise.github.com/">Enterprise</a></li>
<li class="blog"><a href="/blog">Blog</a></li>
</ul>
<form accept-charset="UTF-8" action="/search" class="command-bar-form" id="top_search_form" method="get">
<div class="commandbar">
<span class="message"></span>
<input type="text" data-hotkey="s, /" name="q" id="js-command-bar-field" placeholder="Search or type a command" tabindex="1" autocapitalize="off"
data-repo="wolever/pprintpp"
data-branch="master"
data-sha="194f346c9bb1f7ed139d8fa4ab464f7ab5fc5673"
>
<div class="display hidden"></div>
</div>
<input type="hidden" name="nwo" value="wolever/pprintpp" />
<div class="select-menu js-menu-container js-select-menu search-context-select-menu">
<span class="minibutton select-menu-button js-menu-target" role="button" aria-haspopup="true">
<span class="js-select-button">This repository</span>
</span>
<div class="select-menu-modal-holder js-menu-content js-navigation-container" aria-hidden="true">
<div class="select-menu-modal">
<div class="select-menu-item js-navigation-item js-this-repository-navigation-item selected">
<span class="select-menu-item-icon octicon octicon-check"></span>
<input type="radio" class="js-search-this-repository" name="search_target" value="repository" checked="checked" />
<div class="select-menu-item-text js-select-button-text">This repository</div>
</div> <!-- /.select-menu-item -->
<div class="select-menu-item js-navigation-item js-all-repositories-navigation-item">
<span class="select-menu-item-icon octicon octicon-check"></span>
<input type="radio" name="search_target" value="global" />
<div class="select-menu-item-text js-select-button-text">All repositories</div>
</div> <!-- /.select-menu-item -->
</div>
</div>
</div>
<span class="help tooltipped tooltipped-s" aria-label="Show command bar help">
<span class="octicon octicon-question"></span>
</span>
<input type="hidden" name="ref" value="cmdform">
</form>
</div>
</div>
</div>
<div id="start-of-content" class="accessibility-aid"></div>
<div class="site" itemscope itemtype="http://schema.org/WebPage">
<div id="js-flash-container">
</div>
<div class="pagehead repohead instapaper_ignore readability-menu">
<div class="container">
<ul class="pagehead-actions">
<li>
<a href="/login?return_to=%2Fwolever%2Fpprintpp"
class="minibutton with-count star-button tooltipped tooltipped-n"
aria-label="You must be signed in to star a repository" rel="nofollow">
<span class="octicon octicon-star"></span>
Star
</a>
<a class="social-count js-social-count" href="/wolever/pprintpp/stargazers">
208
</a>
</li>
<li>
<a href="/login?return_to=%2Fwolever%2Fpprintpp"
class="minibutton with-count js-toggler-target fork-button tooltipped tooltipped-n"
aria-label="You must be signed in to fork a repository" rel="nofollow">
<span class="octicon octicon-repo-forked"></span>
Fork
</a>
<a href="/wolever/pprintpp/network" class="social-count">
8
</a>
</li>
</ul>
<h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public">
<span class="repo-label"><span>public</span></span>
<span class="mega-octicon octicon-repo"></span>
<span class="author"><a href="/wolever" class="url fn" itemprop="url" rel="author"><span itemprop="title">wolever</span></a></span><!--
--><span class="path-divider">/</span><!--
--><strong><a href="/wolever/pprintpp" class="js-current-repository js-repo-home-link">pprintpp</a></strong>
<span class="page-context-loader">
<img alt="" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</span>
</h1>
</div><!-- /.container -->
</div><!-- /.repohead -->
<div class="container">
<div class="repository-with-sidebar repo-container new-discussion-timeline js-new-discussion-timeline with-full-navigation ">
<div class="repository-sidebar clearfix">
<div class="sunken-menu vertical-right repo-nav js-repo-nav js-repository-container-pjax js-octicon-loaders">
<div class="sunken-menu-contents">
<ul class="sunken-menu-group">
<li class="tooltipped tooltipped-w" aria-label="Code">
<a href="/wolever/pprintpp" aria-label="Code" class="selected js-selected-navigation-item sunken-menu-item" data-hotkey="g c" data-pjax="true" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches /wolever/pprintpp">
<span class="octicon octicon-code"></span> <span class="full-word">Code</span>
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</a> </li>
<li class="tooltipped tooltipped-w" aria-label="Issues">
<a href="/wolever/pprintpp/issues" aria-label="Issues" class="js-selected-navigation-item sunken-menu-item js-disable-pjax" data-hotkey="g i" data-selected-links="repo_issues /wolever/pprintpp/issues">
<span class="octicon octicon-issue-opened"></span> <span class="full-word">Issues</span>
<span class='counter'>2</span>
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</a> </li>
<li class="tooltipped tooltipped-w" aria-label="Pull Requests">
<a href="/wolever/pprintpp/pulls" aria-label="Pull Requests" class="js-selected-navigation-item sunken-menu-item js-disable-pjax" data-hotkey="g p" data-selected-links="repo_pulls /wolever/pprintpp/pulls">
<span class="octicon octicon-git-pull-request"></span> <span class="full-word">Pull Requests</span>
<span class='counter'>1</span>
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</a> </li>
</ul>
<div class="sunken-menu-separator"></div>
<ul class="sunken-menu-group">
<li class="tooltipped tooltipped-w" aria-label="Pulse">
<a href="/wolever/pprintpp/pulse" aria-label="Pulse" class="js-selected-navigation-item sunken-menu-item" data-pjax="true" data-selected-links="pulse /wolever/pprintpp/pulse">
<span class="octicon octicon-pulse"></span> <span class="full-word">Pulse</span>
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</a> </li>
<li class="tooltipped tooltipped-w" aria-label="Graphs">
<a href="/wolever/pprintpp/graphs" aria-label="Graphs" class="js-selected-navigation-item sunken-menu-item" data-pjax="true" data-selected-links="repo_graphs repo_contributors /wolever/pprintpp/graphs">
<span class="octicon octicon-graph"></span> <span class="full-word">Graphs</span>
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</a> </li>
<li class="tooltipped tooltipped-w" aria-label="Network">
<a href="/wolever/pprintpp/network" aria-label="Network" class="js-selected-navigation-item sunken-menu-item js-disable-pjax" data-selected-links="repo_network /wolever/pprintpp/network">
<span class="octicon octicon-repo-forked"></span> <span class="full-word">Network</span>
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</a> </li>
</ul>
</div>
</div>
<div class="only-with-full-nav">
<div class="clone-url open"
data-protocol-type="http"
data-url="/users/set_protocol?protocol_selector=http&amp;protocol_type=clone">
<h3><strong>HTTPS</strong> clone URL</h3>
<div class="clone-url-box">
<input type="text" class="clone js-url-field"
value="https://github.com/wolever/pprintpp.git" readonly="readonly">
<span class="url-box-clippy">
<button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-clipboard-text="https://github.com/wolever/pprintpp.git" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
</span>
</div>
</div>
<div class="clone-url "
data-protocol-type="subversion"
data-url="/users/set_protocol?protocol_selector=subversion&amp;protocol_type=clone">
<h3><strong>Subversion</strong> checkout URL</h3>
<div class="clone-url-box">
<input type="text" class="clone js-url-field"
value="https://github.com/wolever/pprintpp" readonly="readonly">
<span class="url-box-clippy">
<button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-clipboard-text="https://github.com/wolever/pprintpp" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
</span>
</div>
</div>
<p class="clone-options">You can clone with
<a href="#" class="js-clone-selector" data-protocol="http">HTTPS</a>
or <a href="#" class="js-clone-selector" data-protocol="subversion">Subversion</a>.
<a href="https://help.github.com/articles/which-remote-url-should-i-use" class="help tooltipped tooltipped-n" aria-label="Get help on which URL is right for you.">
<span class="octicon octicon-question"></span>
</a>
</p>
<a href="/wolever/pprintpp/archive/master.zip"
class="minibutton sidebar-button"
aria-label="Download wolever/pprintpp as a zip file"
title="Download wolever/pprintpp as a zip file"
rel="nofollow">
<span class="octicon octicon-cloud-download"></span>
Download ZIP
</a>
</div>
</div><!-- /.repository-sidebar -->
<div id="js-repo-pjax-container" class="repository-content context-loader-container" data-pjax-container>
<span id="js-show-full-navigation"></span>
<div class="repository-meta js-details-container ">
<div class="repository-description js-details-show">
<p>pprint++: a drop-in replacement for pprint that's actually pretty</p>
</div>
</div>
<div class="capped-box overall-summary ">
<div class="stats-switcher-viewport js-stats-switcher-viewport">
<div class="stats-switcher-wrapper">
<ul class="numbers-summary">
<li class="commits">
<a data-pjax href="/wolever/pprintpp/commits/master">
<span class="num">
<span class="octicon octicon-history"></span>
41
</span>
commits
</a>
</li>
<li>
<a data-pjax href="/wolever/pprintpp/branches">
<span class="num">
<span class="octicon octicon-git-branch"></span>
1
</span>
branch
</a>
</li>
<li>
<a data-pjax href="/wolever/pprintpp/releases">
<span class="num">
<span class="octicon octicon-tag"></span>
0
</span>
releases
</a>
</li>
<li>
<a href="/wolever/pprintpp/graphs/contributors" class="js-deferred-content" data-url="/wolever/pprintpp/contributors_size">
<span class="num">
<span class="octicon octicon-organization"></span>
</span>
Fetching contributors
</a>
</li>
</ul>
<div class="repository-lang-stats">
<ol class="repository-lang-stats-numbers">
<li>
<a href="/wolever/pprintpp/search?l=python">
<span class="color-block language-color" style="background-color:#3581ba;"></span>
<span class="lang">Python</span>
<span class="percent">100%</span>
</a>
</li>
</ol>
</div>
</div>
</div>
</div>
<div class="tooltipped tooltipped-s" aria-label="Show language statistics">
<a href="#"
class="repository-lang-stats-graph js-toggle-lang-stats"
style="background-color:#3581ba">
<span class="language-color" style="width:100%; background-color:#3581ba;" itemprop="keywords">Python</span>
</a>
</div>
<div class="file-navigation in-mid-page">
<a href="/wolever/pprintpp/find/master"
class="js-show-file-finder minibutton empty-icon tooltipped tooltipped-s right"
data-pjax
data-hotkey="t"
aria-label="Quickly jump between files">
<span class="octicon octicon-list-unordered"></span>
</a>
<a href="/wolever/pprintpp/compare" aria-label="Compare, review, create a pull request" class="minibutton compact primary tooltipped tooltipped-s" aria-label="Compare &amp; review" data-pjax>
<span class="octicon octicon-git-compare"></span>
</a>
<div class="select-menu js-menu-container js-select-menu" >
<span class="minibutton select-menu-button js-menu-target css-truncate" data-hotkey="w"
data-master-branch="master"
data-ref="master"
title="master"
role="button" aria-label="Switch branches or tags" tabindex="0" aria-haspopup="true">
<span class="octicon octicon-git-branch"></span>
<i>branch:</i>
<span class="js-select-button css-truncate-target">master</span>
</span>
<div class="select-menu-modal-holder js-menu-content js-navigation-container" data-pjax aria-hidden="true">
<div class="select-menu-modal">
<div class="select-menu-header">
<span class="select-menu-title">Switch branches/tags</span>
<span class="octicon octicon-x js-menu-close"></span>
</div> <!-- /.select-menu-header -->
<div class="select-menu-filters">
<div class="select-menu-text-filter">
<input type="text" aria-label="Filter branches/tags" id="context-commitish-filter-field" class="js-filterable-field js-navigation-enable" placeholder="Filter branches/tags">
</div>
<div class="select-menu-tabs">
<ul>
<li class="select-menu-tab">
<a href="#" data-tab-filter="branches" class="js-select-menu-tab">Branches</a>
</li>
<li class="select-menu-tab">
<a href="#" data-tab-filter="tags" class="js-select-menu-tab">Tags</a>
</li>
</ul>
</div><!-- /.select-menu-tabs -->
</div><!-- /.select-menu-filters -->
<div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="branches">
<div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
<div class="select-menu-item js-navigation-item selected">
<span class="select-menu-item-icon octicon octicon-check"></span>
<a href="/wolever/pprintpp/tree/master"
data-name="master"
data-skip-pjax="true"
rel="nofollow"
class="js-navigation-open select-menu-item-text css-truncate-target"
title="master">master</a>
</div> <!-- /.select-menu-item -->
</div>
<div class="select-menu-no-results">Nothing to show</div>
</div> <!-- /.select-menu-list -->
<div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="tags">
<div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
</div>
<div class="select-menu-no-results">Nothing to show</div>
</div> <!-- /.select-menu-list -->
</div> <!-- /.select-menu-modal -->
</div> <!-- /.select-menu-modal-holder -->
</div> <!-- /.select-menu -->
<div class="breadcrumb"><span class='repo-root js-repo-root'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/wolever/pprintpp" data-branch="master" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">pprintpp</span></a></span></span><span class="separator"> / </span><form action="/login?return_to=%2Fwolever%2Fpprintpp" aria-label="Sign in to make or propose changes" class="js-new-blob-form tooltipped tooltipped-e new-file-link" method="post"><span aria-label="Sign in to make or propose changes" class="js-new-blob-submit octicon octicon-plus" data-test-id="create-new-git-file" role="button"></span></form></div>
</div>
<div class="commit commit-tease js-details-container" >
<p class="commit-title ">
<a href="/wolever/pprintpp/commit/3621d6a6bd55fab7dd90124f529ed0ed4d9e5f7d" class="message" data-pjax="true" title="import ascii from builtins on py3">import ascii from builtins on py3</a>
</p>
<div class="commit-meta">
<button aria-label="Copy SHA" class="js-zeroclipboard zeroclipboard-link" data-clipboard-text="3621d6a6bd55fab7dd90124f529ed0ed4d9e5f7d" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
<a href="/wolever/pprintpp/commit/3621d6a6bd55fab7dd90124f529ed0ed4d9e5f7d" class="sha-block" data-pjax>latest commit <span class="sha">3621d6a6bd</span></a>
<div class="authorship">
<img alt="David Wolever" class="gravatar js-avatar" data-user="59575" height="20" src="https://avatars0.githubusercontent.com/u/59575?s=140" width="20" />
<span class="author-name"><a href="/wolever" rel="author">wolever</a></span>
authored <time class="updated" datetime="2014-04-26T13:32:59-04:00" is="relative-time">April 26, 2014</time>
</div>
</div>
</div>
<div class="file-wrap">
<table class="files" data-pjax>
<tbody class=""
data-url="/wolever/pprintpp/file-list/master"
data-deferred-content-error="Failed to load latest commit information.">
<tr>
<td class="icon">
<span class="octicon octicon-file-directory"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/tree/master/pp" class="js-directory-link" id="c483f6ce851c9ecd9fb835ff7551737c-ea1ef927d10d30fc858aa793b21ff937d1f5fe14" title="pp">pp</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/7276b9a092e9d7905fa917faa32423832b46453d" class="message" data-pjax="true" title="Finalizing Python 3 support">Finalizing Python 3 support</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-04-22T17:31:01Z" is="time-ago">April 22, 2014</time></span>
</td>
</tr>
<tr>
<td class="icon">
<span class="octicon octicon-file-text"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/blob/master/.gitignore" class="js-directory-link" id="a084b794bc0759e7a6b77810e01874f2-541171f2e420acc231be41a8bed9edca41327eb6" title=".gitignore">.gitignore</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/779727d9a722b1914700a6455d96def8b644f238" class="message" data-pjax="true" title="Use tox too">Use tox too</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-04-22T15:20:17Z" is="time-ago">April 22, 2014</time></span>
</td>
</tr>
<tr>
<td class="icon">
<span class="octicon octicon-file-text"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/blob/master/.travis.yml" class="js-directory-link" id="354f30a63fb0907d4ad57269548329e3-eec5a57d8882c778760d98d2e99c23fdf5ed7ce0" title=".travis.yml">.travis.yml</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/67da884792eda24cc89ec3267eb46a5c25c533f9" class="message" data-pjax="true" title="Should mostly fix Py3">Should mostly fix Py3</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-04-22T17:09:25Z" is="time-ago">April 22, 2014</time></span>
</td>
</tr>
<tr>
<td class="icon">
<span class="octicon octicon-file-text"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/blob/master/CHANGELOG.txt" class="js-directory-link" id="a0493e27f48b50e18312b9f4508fc29d-8ddb30f566c7d869efed4bc71902d81cc4a5189a" title="CHANGELOG.txt">CHANGELOG.txt</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/7fe0d2e0b1c39ca82a997634295fdc44fd9bdd3a" class="message" data-pjax="true" title="A couple minor bugfixes">A couple minor bugfixes</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-04-22T19:07:39Z" is="time-ago">April 22, 2014</time></span>
</td>
</tr>
<tr>
<td class="icon">
<span class="octicon octicon-file-text"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/blob/master/LICENSE.txt" class="js-directory-link" id="61e0bdf7e1b43c5c93d9488b22e04170-f3eb68308cc24634c1a572c81c45b999c8734b04" title="LICENSE.txt">LICENSE.txt</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/e247f2ab65fd83200ccab2326ab8735327093ded" class="message" data-pjax="true" title="Initial commit, largely kinda working">Initial commit, largely kinda working</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-03-30T22:09:12Z" is="time-ago">March 30, 2014</time></span>
</td>
</tr>
<tr>
<td class="icon">
<span class="octicon octicon-file-text"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/blob/master/MANIFEST.in" class="js-directory-link" id="97c91a104c431d0c365565d3ac03ac13-9561fb1061f6de114633c70871232a6896dcbe8a" title="MANIFEST.in">MANIFEST.in</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/e247f2ab65fd83200ccab2326ab8735327093ded" class="message" data-pjax="true" title="Initial commit, largely kinda working">Initial commit, largely kinda working</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-03-30T22:09:12Z" is="time-ago">March 30, 2014</time></span>
</td>
</tr>
<tr>
<td class="icon">
<span class="octicon octicon-file-text"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/blob/master/README.rst" class="js-directory-link" id="88b99bb28683bd5b7e3a204826ead112-3f98826054c469d19f9c0c481be52d24540cf7ba" title="README.rst">README.rst</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/c008219633769f47eb695d5e3da20d447fb7c030" class="message" data-pjax="true" title="Fix travis CI icon">Fix travis CI icon</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-04-22T17:33:09Z" is="time-ago">April 22, 2014</time></span>
</td>
</tr>
<tr>
<td class="icon">
<span class="octicon octicon-file-text"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/blob/master/pprintpp.py" class="js-directory-link" id="30fc53aa74b71450c877a8664512f015-f38ba113ffe72ee218a9f9528e5e6df5ec6d6779" title="pprintpp.py">pprintpp.py</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/3621d6a6bd55fab7dd90124f529ed0ed4d9e5f7d" class="message" data-pjax="true" title="import ascii from builtins on py3">import ascii from builtins on py3</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-04-26T17:47:59Z" is="time-ago">April 26, 2014</time></span>
</td>
</tr>
<tr>
<td class="icon">
<span class="octicon octicon-file-text"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/blob/master/setup.cfg" class="js-directory-link" id="380c6a8ebbbce17d55d50ef17d3cf906-2a9acf13daa95e85642ea255d3e3bd1ef8252804" title="setup.cfg">setup.cfg</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/7276b9a092e9d7905fa917faa32423832b46453d" class="message" data-pjax="true" title="Finalizing Python 3 support">Finalizing Python 3 support</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-04-22T17:31:01Z" is="time-ago">April 22, 2014</time></span>
</td>
</tr>
<tr>
<td class="icon">
<span class="octicon octicon-file-text"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/blob/master/setup.py" class="js-directory-link" id="2eeaed663bd0d25b7e608891384b7298-f2f71b6ed40c63f1ea87518f863b61365caaeef9" title="setup.py">setup.py</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/7fe0d2e0b1c39ca82a997634295fdc44fd9bdd3a" class="message" data-pjax="true" title="A couple minor bugfixes">A couple minor bugfixes</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-04-22T19:07:39Z" is="time-ago">April 22, 2014</time></span>
</td>
</tr>
<tr>
<td class="icon">
<span class="octicon octicon-file-text"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/blob/master/test-requires.txt" class="js-directory-link" id="9617fbd477946e757a124bc442bbfa48-ed8195f5a6b8ef77cb34a1bfca98d1c3a56b2b6d" title="test-requires.txt">test-requires.txt</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/779727d9a722b1914700a6455d96def8b644f238" class="message" data-pjax="true" title="Use tox too">Use tox too</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-04-22T15:20:17Z" is="time-ago">April 22, 2014</time></span>
</td>
</tr>
<tr>
<td class="icon">
<span class="octicon octicon-file-text"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/blob/master/test.py" class="js-directory-link" id="b284a28710cce90d9d9be3a7f4cabc8e-cde2e3f5dc9b7eeaf14871268ef45ad349f408d8" title="test.py">test.py</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/7fe0d2e0b1c39ca82a997634295fdc44fd9bdd3a" class="message" data-pjax="true" title="A couple minor bugfixes">A couple minor bugfixes</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-04-22T19:07:39Z" is="time-ago">April 22, 2014</time></span>
</td>
</tr>
<tr>
<td class="icon">
<span class="octicon octicon-file-text"></span>
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</td>
<td class="content">
<span class="css-truncate css-truncate-target"><a href="/wolever/pprintpp/blob/master/tox.ini" class="js-directory-link" id="b91f3d5bd63fcd17221b267e851608e8-2af8c5364578153bf47fe7fbb4fe813d33128d60" title="tox.ini">tox.ini</a></span>
</td>
<td class="message">
<span class="css-truncate css-truncate-target ">
<a href="/wolever/pprintpp/commit/67da884792eda24cc89ec3267eb46a5c25c533f9" class="message" data-pjax="true" title="Should mostly fix Py3">Should mostly fix Py3</a>
</span>
</td>
<td class="age">
<span class="css-truncate css-truncate-target"><time datetime="2014-04-22T17:09:25Z" is="time-ago">April 22, 2014</time></span>
</td>
</tr>
</tbody>
</table>
</div>
<div id="readme" class="clearfix announce instapaper_body rst">
<span class="name">
<span class="octicon octicon-book"></span>
README.rst
</span>
<article class="markdown-body entry-content" itemprop="mainContentOfPage"><h1>
<a name="user-content-pprint-a-drop-in-replacement-for-pprint-thats-actually-pretty" class="anchor" href="#pprint-a-drop-in-replacement-for-pprint-thats-actually-pretty" aria-hidden="true"><span class="octicon octicon-link"></span></a>
<tt>pprint++</tt>: a drop-in replacement for <tt>pprint</tt> that's actually pretty</h1>
<a href="https://travis-ci.org/wolever/pprintpp"><img alt="https://travis-ci.org/wolever/pprintpp.svg?branch=master" src="https://camo.githubusercontent.com/a02450c383aaf95d6591c409dd30c06571908602/68747470733a2f2f7472617669732d63692e6f72672f776f6c657665722f707072696e7470702e7376673f6272616e63683d6d6173746572" data-canonical-src="https://travis-ci.org/wolever/pprintpp.svg?branch=master" style="max-width:100%;"></a>
<p>Now with Python 3 support!</p>
<h2>
<a name="user-content-installation" class="anchor" href="#installation" aria-hidden="true"><span class="octicon octicon-link"></span></a>Installation</h2>
<p><tt>pprint++</tt> can be installed with Python 2 or Python 3 using <tt>pip</tt> or
<tt>easy_install</tt>:</p>
<pre>
$ pip install pprintpp
- OR -
$ easy_install pprintpp
</pre>
<h2>
<a name="user-content-usage" class="anchor" href="#usage" aria-hidden="true"><span class="octicon octicon-link"></span></a>Usage</h2>
<p><tt>pprint++</tt> can be used in three ways:</p>
<ol>
<li>
<p>As a regular module:</p>
<pre>
&gt;&gt;&gt; import pprintpp
&gt;&gt;&gt; pprintpp.pprint(...)
</pre>
</li>
<li>
<p>As a command-line program, which will read Python literals from standard in
and pretty-print them:</p>
<pre>
$ echo "{'hello': 'world'}" | pypprint
{'hello': 'world'}
</pre>
</li>
<li>
<p>To monkeypatch <tt>pprint</tt>:</p>
<pre>
&gt;&gt;&gt; import pprintpp
&gt;&gt;&gt; pprintpp.monkeypatch()
&gt;&gt;&gt; import pprint
&gt;&gt;&gt; pprint.pprint(...)
</pre>
<p>Note: the original <tt>pprint</tt> will be available with <tt>import
pprint_original</tt>.</p>
</li>
<li>
<p>Through the separate <tt>pp</tt> package:</p>
<pre>
$ pip install pp-ez
$ python
...
&gt;&gt;&gt; import pp
&gt;&gt;&gt; pp(["Hello", "world"])
["Hello", "world"]
</pre>
<p>For more, see <a href="https://pypi.python.org/pypi/pp-ez">https://pypi.python.org/pypi/pp-ez</a></p>
</li>
</ol><h2>
<a name="user-content-usability-protips" class="anchor" href="#usability-protips" aria-hidden="true"><span class="octicon octicon-link"></span></a>Usability Protips</h2>
<h2>
<a name="user-content-pp" class="anchor" href="#pp" aria-hidden="true"><span class="octicon octicon-link"></span></a><tt>pp</tt>
</h2>
<p>For bonus code aesthetics, <tt>pprintpp.pprint</tt> can be imported as <tt>pp</tt>:</p>
<div class="highlight highlight-pycon"><pre>
<span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span> <span class="nn">pprintpp</span> <span class="kn">import</span> <span class="n">pprint</span> <span class="k">as</span> <span class="n">pp</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">pp</span><span class="p">(</span><span class="o">...</span><span class="p">)</span>
</pre></div>
<p>And if that is just too many letters, the <tt>pp-ez</tt> package can be installed
from PyPI, ensuring that pretty-printing is never more than an <tt>import pp</tt>
away:</p>
<pre>
$ pip install pp-ez
$ python
...
&gt;&gt;&gt; import pp
&gt;&gt;&gt; pp(["Hello", "world"])
["Hello", "world"]
</pre>
<p>For more, see <a href="https://pypi.python.org/pypi/pp-ez">https://pypi.python.org/pypi/pp-ez</a></p>
<h2>
<a name="user-content-why-is-it-prettier" class="anchor" href="#why-is-it-prettier" aria-hidden="true"><span class="octicon octicon-link"></span></a>Why is it prettier?</h2>
<p>Unlike <tt>pprint</tt>, <tt>pprint++</tt> strives to emit a readable, largely
PEP8-compliant, representation of its input.</p>
<p>It also has explicit support for: the <tt>collections</tt> module (<tt>defaultdict</tt>
and <tt>Counter</tt>) and <tt>numpy</tt> arrays:</p>
<div class="highlight highlight-pycon"><pre>
<span class="gp">&gt;&gt;&gt; </span><span class="kn">import</span> <span class="nn">numpy</span> <span class="kn">as</span> <span class="nn">np</span>
<span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span> <span class="nn">collections</span> <span class="kn">import</span> <span class="n">defaultdict</span><span class="p">,</span> <span class="n">Counter</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">pprint</span><span class="p">([</span><span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">([[</span><span class="mi">1</span><span class="p">,</span><span class="mi">2</span><span class="p">],[</span><span class="mi">3</span><span class="p">,</span><span class="mi">4</span><span class="p">]]),</span> <span class="n">defaultdict</span><span class="p">(</span><span class="nb">int</span><span class="p">,</span> <span class="p">{</span><span class="s">"foo"</span><span class="p">:</span> <span class="mi">1</span><span class="p">}),</span> <span class="n">Counter</span><span class="p">(</span><span class="s">"aaabbc"</span><span class="p">)])</span>
<span class="go">[</span>
<span class="go"> array([[1, 2],</span>
<span class="go"> [3, 4]]),</span>
<span class="go"> defaultdict(&lt;type 'int'&gt;, {'foo': 1}),</span>
<span class="go"> Counter({'a': 3, 'b': 2, 'c': 1}),</span>
<span class="go">]</span>
</pre></div>
<p>Unicode characters, when possible, will be printed un-escaped. This is done by
checking both the output stream's encoding (defaulting to <tt>utf-8</tt>) and the
character's Unicode category. An effort is made to print only characters which
will be visually unambiguous: letters and numbers will be printed un-escaped,
spaces, combining characters, and control characters will be escaped:</p>
<div class="highlight highlight-pycon"><pre>
<span class="gp">&gt;&gt;&gt; </span><span class="n">unistr</span> <span class="o">=</span> <span class="s">u"</span><span class="se">\xe9</span><span class="s">e</span><span class="se">\u0301</span><span class="s">"</span>
<span class="gp">&gt;&gt;&gt; </span><span class="k">print</span> <span class="n">unistr</span>
<span class="go">éé</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">pprint</span><span class="p">(</span><span class="n">unistr</span><span class="p">)</span>
<span class="go">u'ée\u0301'</span>
</pre></div>
<p>The output stream's encoding will be considered too:</p>
<div class="highlight highlight-pycon"><pre>
<span class="gp">&gt;&gt;&gt; </span><span class="kn">import</span> <span class="nn">io</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">stream</span> <span class="o">=</span> <span class="n">io</span><span class="o">.</span><span class="n">BytesIO</span><span class="p">()</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">stream</span><span class="o">.</span><span class="n">encoding</span> <span class="o">=</span> <span class="s">"ascii"</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">pprint</span><span class="p">(</span><span class="n">unistr</span><span class="p">,</span> <span class="n">stream</span><span class="o">=</span><span class="n">stream</span><span class="p">)</span>
<span class="gp">&gt;&gt;&gt; </span><span class="k">print</span> <span class="n">stream</span><span class="o">.</span><span class="n">getvalue</span><span class="p">()</span>
<span class="go">u'\xe9e\u0301'</span>
</pre></div>
<p><strong>Note</strong>: <tt>pprint++</tt> is still under development, so the format <em>will</em> change
and improve over time.</p>
<h3>
<a name="user-content-example" class="anchor" href="#example" aria-hidden="true"><span class="octicon octicon-link"></span></a>Example</h3>
<p>With <tt>printpp</tt>:</p>
<div class="highlight highlight-pycon"><pre>
<span class="gp">&gt;&gt;&gt; </span><span class="kn">import</span> <span class="nn">pprintpp</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">pprintpp</span><span class="o">.</span><span class="n">pprint</span><span class="p">([</span><span class="s">"Hello"</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">([[</span><span class="mi">1</span><span class="p">,</span><span class="mi">2</span><span class="p">],[</span><span class="mi">3</span><span class="p">,</span><span class="mi">4</span><span class="p">]])])</span>
<span class="go">[</span>
<span class="go"> 'Hello',</span>
<span class="go"> array([[1, 2],</span>
<span class="go"> [3, 4]]),</span>
<span class="go">]</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">pprintpp</span><span class="o">.</span><span class="n">pprint</span><span class="p">(</span><span class="n">tweet</span><span class="p">)</span>
<span class="go">{</span>
<span class="go"> 'coordinates': None,</span>
<span class="go"> 'created_at': 'Mon Jun 27 19:32:19 +0000 2011',</span>
<span class="go"> 'entities': {</span>
<span class="go"> 'hashtags': [],</span>
<span class="go"> 'urls': [</span>
<span class="go"> {</span>
<span class="go"> 'display_url': 'tumblr.com/xnr37hf0yz',</span>
<span class="go"> 'expanded_url': 'http://tumblr.com/xnr37hf0yz',</span>
<span class="go"> 'indices': [107, 126],</span>
<span class="go"> 'url': 'http://t.co/cCIWIwg',</span>
<span class="go"> },</span>
<span class="go"> ],</span>
<span class="go"> 'user_mentions': [],</span>
<span class="go"> },</span>
<span class="go"> 'place': None,</span>
<span class="go"> 'source': '&lt;a href="http://www.tumblr.com/" rel="nofollow"&gt;Tumblr&lt;/a&gt;',</span>
<span class="go"> 'truncated': False,</span>
<span class="go"> 'user': {</span>
<span class="go"> 'contributors_enabled': True,</span>
<span class="go"> 'default_profile': False,</span>
<span class="go"> 'entities': {'hashtags': [], 'urls': [], 'user_mentions': []},</span>
<span class="go"> 'favourites_count': 20,</span>
<span class="go"> 'id_str': '6253282',</span>
<span class="go"> 'profile_link_color': '0094C2',</span>
<span class="go"> },</span>
<span class="go">}</span>
</pre></div>
<p>Without <tt>printpp</tt>:</p>
<pre>
&gt;&gt;&gt; import pprint
&gt;&gt;&gt; import numpy as np
&gt;&gt;&gt; pprint.pprint(["Hello", np.array([[1,2],[3,4]])])
['Hello', array([[1, 2],
[3, 4]])]
&gt;&gt;&gt; tweet = {'coordinates': None, 'created_at': 'Mon Jun 27 19:32:19 +0000 2011', 'entities': {'hashtags': [], 'urls': [{'display_url': 'tumblr.com/xnr37hf0yz', 'expanded_url': 'http://tumblr.com/xnr37hf0yz', 'indices': [107, 126], 'url': 'http://t.co/cCIWIwg'}], 'user_mentions': []}, 'place': None, 'source': '&lt;a href="http://www.tumblr.com/" rel="nofollow"&gt;Tumblr&lt;/a&gt;', 'truncated': False, 'user': {'contributors_enabled': True, 'default_profile': False, 'entities': {'hashtags': [], 'urls': [], 'user_mentions': []}, 'favourites_count': 20, 'id_str': '6253282', 'profile_link_color': '0094C2'}}
&gt;&gt;&gt; pprint.pprint(tweet)
{'coordinates': None,
'created_at': 'Mon Jun 27 19:32:19 +0000 2011',
'entities': {'hashtags': [],
'urls': [{'display_url': 'tumblr.com/xnr37hf0yz',
'expanded_url': 'http://tumblr.com/xnr37hf0yz',
'indices': [107, 126],
'url': 'http://t.co/cCIWIwg'}],
'user_mentions': []},
'place': None,
'source': '&lt;a href="http://www.tumblr.com/" rel="nofollow"&gt;Tumblr&lt;/a&gt;',
'truncated': False,
'user': {'contributors_enabled': True,
'default_profile': False,
'entities': {'hashtags': [], 'urls': [], 'user_mentions': []},
'favourites_count': 20,
'id_str': '6253282',
'profile_link_color': '0094C2'}}
</pre></article>
</div>
</div>
</div><!-- /.repo-container -->
<div class="modal-backdrop"></div>
</div><!-- /.container -->
</div><!-- /.site -->
</div><!-- /.wrapper -->
<div class="container">
<div class="site-footer">
<ul class="site-footer-links right">
<li><a href="https://status.github.com/">Status</a></li>
<li><a href="http://developer.github.com">API</a></li>
<li><a href="http://training.github.com">Training</a></li>
<li><a href="http://shop.github.com">Shop</a></li>
<li><a href="/blog">Blog</a></li>
<li><a href="/about">About</a></li>
</ul>
<a href="/">
<span class="mega-octicon octicon-mark-github" title="GitHub"></span>
</a>
<ul class="site-footer-links">
<li>&copy; 2014 <span title="0.03954s from github-fe117-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
<li><a href="/site/terms">Terms</a></li>
<li><a href="/site/privacy">Privacy</a></li>
<li><a href="/security">Security</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
</div><!-- /.site-footer -->
</div><!-- /.container -->
<div class="fullscreen-overlay js-fullscreen-overlay" id="fullscreen_overlay">
<div class="fullscreen-container js-fullscreen-container">
<div class="textarea-wrap">
<textarea name="fullscreen-contents" id="fullscreen-contents" class="fullscreen-contents js-fullscreen-contents" placeholder="" data-suggester="fullscreen_suggester"></textarea>
</div>
</div>
<div class="fullscreen-sidebar">
<a href="#" class="exit-fullscreen js-exit-fullscreen tooltipped tooltipped-w" aria-label="Exit Zen Mode">
<span class="mega-octicon octicon-screen-normal"></span>
</a>
<a href="#" class="theme-switcher js-theme-switcher tooltipped tooltipped-w"
aria-label="Switch themes">
<span class="octicon octicon-color-mode"></span>
</a>
</div>
</div>
<div id="ajax-error-message" class="flash flash-error">
<span class="octicon octicon-alert"></span>
<a href="#" class="octicon octicon-x close js-ajax-error-dismiss" aria-label="Dismiss error"></a>
Something went wrong with that request. Please try again.
</div>
<script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-90c3c3197777a26c93f4c80872dac101732fcb00.js" type="text/javascript"></script>
<script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-0f06d0f46fe7bcfbf31f2380f23aec15ba21b8ec.js" type="text/javascript"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment